@charset "UTF-8";

/* Brand tokens are shared with the LUMIÈRE TOKYO LINE mini app demo so the two
   works read as one product family. */
:root {
  --theme: #2a2430;
  --theme-deep: #17131c;
  --accent: #a8768c;
  --gold: #c2a568;
  --line-green: #06c755;

  /* Tabler ships a generic blue; swapping these two variables re-skins buttons,
     progress bars, links and active states in one shot. */
  --tblr-primary: #7d5468;
  --tblr-primary-rgb: 125, 84, 104;
  --tblr-font-sans-serif: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  --tblr-body-font-family: var(--tblr-font-sans-serif);
  --tblr-body-bg: #f6f4f6;
}

body {
  font-family: var(--tblr-font-sans-serif);
  -webkit-font-smoothing: antialiased;
}

/* Every control in this demo is an inert <button>; strip the UA styling so it
   inherits Tabler's look wherever an <a> would normally sit. */
button {
  font: inherit;
  text-align: inherit;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

/* SIDEBAR */

.navbar-vertical {
  background: var(--theme) !important;
  border-right: 0;
}

.navbar-vertical .navbar-nav .nav-link {
  width: 100%;
  border-radius: 8px;
  margin: 1px 8px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.66);
}

.navbar-vertical .navbar-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.navbar-vertical .navbar-nav .nav-item.active .nav-link {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px 14px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent), #6d4356);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__name {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__sub {
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.plan {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px;
}

.plan__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan__label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.plan__meta {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

/* TOP BAR */

.topsearch {
  width: 340px;
}

.operator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.operator .avatar {
  background: var(--theme);
  color: #fff;
  font-weight: 600;
}

.operator__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.operator__name {
  font-size: 13px;
  font-weight: 600;
}

.operator__role {
  color: var(--tblr-secondary);
  font-size: 11px;
}

/* KPI */

.kpi-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 18px;
}

.kpi-ico--accent { background: #f6eef1; color: var(--accent); }
.kpi-ico--gold { background: #f5efe1; color: #8d7440; }
.kpi-ico--green { background: #e3f6ea; color: #04994a; }
.kpi-ico--plum { background: #efecf3; color: #5f5070; }

/* Figures must never wrap: a broken "12,480" reads as two numbers. */
.kpi__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.kpi__label {
  overflow: hidden;
  color: var(--tblr-secondary);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kpi__val {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.kpi__delta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.kpi__cap {
  color: var(--tblr-secondary);
  font-weight: 400;
}

/* CHARTS — named around Tabler's own `.chart` and `.legend`, which are an
   ApexCharts container and a 0.75em swatch respectively. */

.trend {
  display: block;
  width: 100%;
  height: 190px;
}

.trend-x {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--tblr-secondary);
  font-size: 11px;
}

.donut {
  width: 180px;
  height: 180px;
}

.donut__num {
  fill: var(--tblr-body-color);
  font-size: 22px;
  font-weight: 700;
  text-anchor: middle;
}

.donut__cap {
  fill: var(--tblr-secondary);
  font-size: 11px;
  text-anchor: middle;
}

.ranklist {
  margin-top: 14px;
  text-align: left;
}

.ranklist__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-top: 1px solid var(--tblr-border-color);
  font-size: 12.5px;
}

.ranklist__dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.ranklist__name { flex: 1; }
.ranklist__val { font-weight: 600; }
.ranklist__val small { color: var(--tblr-secondary); font-weight: 400; }

.ranklist__pct {
  width: 46px;
  color: var(--tblr-secondary);
  text-align: right;
}

.bars__row + .bars__row {
  margin-top: 14px;
}

.bars__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 13px;
}

.bars__val { font-weight: 600; }

/* RANK BADGES — gradients match the membership card in the LINE demo. */

.rank {
  border: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rank--regular { background: linear-gradient(135deg, #efe9dd, #ddd3c2); color: #5a5346; }
.rank--silver { background: linear-gradient(135deg, #e4e6e9, #bcc0c5); color: #3a3a3a; }
.rank--gold { background: linear-gradient(135deg, #e7cd94, #c2a161); color: #4a3414; }
.rank--platinum { background: linear-gradient(135deg, #4a4641, #1f1d1a); color: #e7cd94; }

/* COUPONS */

.coupon {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 116px;
  padding: 14px 16px;
  border-radius: var(--tblr-border-radius) var(--tblr-border-radius) 0 0;
  color: #fff;
}

.coupon__num {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.coupon__num small {
  margin-left: 5px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Tabler sizes datagrid cells for full-width cards; these sit four-up. */
.coupon + .card-body .datagrid {
  --tblr-datagrid-item-width: 5rem;
}

.coupon__tag {
  align-self: flex-start;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
}

/* LINE配信 */

.react + .react {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--tblr-border-color);
}

.react__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}

.react__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.react__open { font-weight: 700; }

.react__meta {
  margin-top: 6px;
  color: var(--tblr-secondary);
  font-size: 11.5px;
}

.seg {
  border: 1px solid var(--tblr-border-color);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.seg__num { font-size: 20px; font-weight: 700; }
.seg__cap { color: var(--tblr-secondary); font-size: 11.5px; }

/* Static stand-in for a LINE talk screen — a preview, not a working composer. */
.talk {
  overflow: hidden;
  border-radius: 12px;
  background: #8ba3b8;
}

.talk__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #3f4a55;
  padding: 9px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.talk__ava {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 10px;
}

.talk__body { padding: 12px; }

.talk__day {
  margin: 0 auto 10px;
  width: fit-content;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 10px;
  color: #fff;
  font-size: 10px;
}

.talk__msg + .talk__msg { margin-top: 8px; }

.talk__card {
  overflow: hidden;
  width: 82%;
  border-radius: 12px;
  background: #fff;
}

.talk__hero {
  height: 74px;
  background: linear-gradient(140deg, #3a3243, #6d4356);
}

.talk__txt { padding: 10px 12px 12px; }
.talk__txt strong { display: block; font-size: 12.5px; }

.talk__txt p {
  margin: 5px 0 9px;
  color: var(--tblr-secondary);
  font-size: 11px;
  line-height: 1.7;
}

.talk__btn {
  display: block;
  border-top: 1px solid var(--tblr-border-color);
  padding-top: 8px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
}

.talk__bubble {
  width: fit-content;
  max-width: 82%;
  border-radius: 12px;
  background: #fff;
  padding: 8px 11px;
  font-size: 11.5px;
  line-height: 1.7;
}

/* ANALYTICS */

.omo {
  border: 1px solid var(--tblr-border-color);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.omo--on {
  border-color: var(--accent);
  background: #f9f2f5;
}

.omo__cap { color: var(--tblr-secondary); font-size: 11.5px; }
.omo__num { font-size: 22px; font-weight: 700; }
.omo__sub { color: var(--tblr-secondary); font-size: 11.5px; }

.omo__note {
  margin-top: 14px;
  border-radius: 8px;
  background: #f6eef1;
  padding: 10px 12px;
  color: #6d4356;
  font-size: 12.5px;
}

/* SETTINGS */

.conn {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--tblr-border-color);
  border-radius: 10px;
  padding: 12px 14px;
}

.rankset__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 12.5px;
}

.rankset__row + .rankset__row { border-top: 1px solid var(--tblr-border-color); }
.rankset__cond { flex: 1; color: var(--tblr-secondary); }
.rankset__rate { font-weight: 600; }

/* The sidebar stacks above the content below `sm`, where Tabler would normally
   collapse it behind a toggler we have no JS to drive. */
@media (max-width: 575.98px) {
  .navbar-vertical .navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .topsearch { display: none; }
}
