@charset "UTF-8";
/* ===== tokens ===== */
:root {
  color-scheme: light;
  --paper: #eef3f0;
  --sheet: #ffffff;
  --sheet_alt: #f6f9f7;
  --ink: #13201b;
  --ink_sub: #56655e;
  --ink_faint: #8a9a92;
  --rule: #d3ddd8;
  --rule_strong: #b9c7c0;
  --green: #11694f;
  --green_hover: #0b5640;
  --on_green: #ffffff;
  --green_soft: #ddebe5;
  --marker: #f6d55c;
  --on_marker: #13201b;
  --red: #b5332a;
  --red_soft: #f8e1de;
  --shadow: 0 1px 0 rgba(19, 32, 27, 0.04), 0 8px 24px -12px rgba(19, 32, 27, 0.18);
  --radius: 14px;
  --radius_sm: 9px;
  --nav_h: 64px;
  --ease_out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --font_num: "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font_dot: "Doto", "Spline Sans Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    color-scheme: dark;
    --paper: #0e1412;
    --sheet: #151d1a;
    --sheet_alt: #18211e;
    --ink: #e4ece8;
    --ink_sub: #9aaba3;
    --ink_faint: #6f8078;
    --rule: #26322d;
    --rule_strong: #34433d;
    --green: #5cc9a0;
    --green_hover: #7fd8b6;
    --on_green: #0e1412;
    --green_soft: #193129;
    --marker: #e9c64a;
    --on_marker: #13201b;
    --red: #f0776b;
    --red_soft: #3a1a17;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  }
}
:root[data-theme=dark] {
  color-scheme: dark;
  --paper: #0e1412;
  --sheet: #151d1a;
  --sheet_alt: #18211e;
  --ink: #e4ece8;
  --ink_sub: #9aaba3;
  --ink_faint: #6f8078;
  --rule: #26322d;
  --rule_strong: #34433d;
  --green: #5cc9a0;
  --green_hover: #7fd8b6;
  --on_green: #0e1412;
  --green_soft: #193129;
  --marker: #e9c64a;
  --on_marker: #13201b;
  --red: #f0776b;
  --red_soft: #3a1a17;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .select {
    color-scheme: dark;
  }
}
:root[data-theme=dark] .select {
  color-scheme: dark;
}

/* ===== base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}

img,
svg {
  display: block;
}

a {
  color: var(--green);
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

::selection {
  background: var(--marker);
  color: var(--on_marker);
}

.visually_hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip_link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--sheet);
  border-radius: var(--radius_sm);
}
.skip_link:focus {
  top: 8px;
}

.num {
  font-family: var(--font_num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ===== layout ===== */
#root {
  min-height: 100dvh;
}

.app_shell {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: 100dvh;
}

.side_nav {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  padding: 24px 14px;
  border-right: 1px solid var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px 28px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  border-radius: 8px;
}

.nav_list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav_link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius_sm);
  color: var(--ink_sub);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav_link:hover {
  color: var(--ink);
  background: var(--sheet);
}
.nav_link[aria-current=page] {
  color: var(--ink);
  font-weight: 700;
  background: var(--sheet);
  box-shadow: inset 3px 0 0 var(--green);
}
.nav_link svg {
  flex-shrink: 0;
}

.nav_add {
  margin-top: 20px;
}

.nav_foot {
  margin-top: auto;
  padding: 0 10px;
  color: var(--ink_faint);
  font-size: 12px;
}

.main_area {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 40px 72px;
}
.main_area:focus {
  outline: none;
}

.page_head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.page_eyebrow {
  margin: 0 0 2px;
  color: var(--ink_sub);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.page_title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.page_title:focus {
  outline: none;
}

.help_q {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 10px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-family: "Spline Sans Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  vertical-align: 0.2em;
  transition: background-color 0.2s, color 0.2s;
  position: relative;
}
.help_q::after {
  content: "";
  position: absolute;
  inset: -8px;
}
.help_q:hover, .help_q:focus-visible {
  background-color: var(--green);
  color: var(--paper);
}

.nav_guide {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.back_link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-bottom: 4px;
  color: var(--ink_sub);
  font-size: 14px;
  text-decoration: none;
}
.back_link:hover {
  color: var(--ink);
}

.section {
  margin-top: 36px;
}

.section_head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section_title {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.section_note {
  margin: 0;
  color: var(--ink_sub);
  font-size: 13px;
}

.bottom_nav {
  display: none;
}

/* ===== card ===== */
.card {
  padding: 22px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== passbook（ホームの合計） ===== */
.home_top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.passbook {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.passbook_band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 22px;
  background: var(--green);
  color: var(--on_green);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 7px);
}

.passbook_body {
  flex: 1;
  padding: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
}

.passbook_detail {
  padding: 22px 22px 16px;
  background: var(--sheet);
  border-bottom: 1px solid var(--rule_strong);
}

.passbook_label {
  margin: 0;
  color: var(--ink_sub);
  font-size: 14px;
}

.passbook_total {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 2px 0 10px;
  line-height: 1;
}

.passbook_yen {
  font-family: var(--font_num);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
}

.passbook_amount {
  font-family: var(--font_dot);
  font-size: clamp(52px, 7.4vw, 84px);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.passbook_facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.passbook_facts dt {
  display: inline;
  color: var(--ink_sub);
}
.passbook_facts dd {
  display: inline;
  margin: 0 0 0 6px;
  font-family: var(--font_num);
  font-weight: 600;
}

.cat_strip {
  display: flex;
  height: 10px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sheet_alt);
  gap: 2px;
}

.cat_seg {
  min-width: 4px;
  height: 100%;
}

.cat_legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--ink_sub);
}

.cat_legend_item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.cat_legend_item b {
  color: var(--ink);
  font-family: var(--font_num);
  font-weight: 600;
}

.cat_dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.price_note {
  margin: 10px 0 0;
  color: var(--ink_faint);
  font-size: 12px;
}

/* ----- 月の予算 ----- */
.budget {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink_sub);
}
.budget b {
  color: var(--ink);
  font-family: var(--font_num);
  font-weight: 600;
}
.budget.is_over b {
  color: var(--red);
}

.budget_head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.budget_bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sheet_alt);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.budget_bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--green);
  transition: width 0.4s var(--ease_out);
}
.is_over .budget_bar span {
  background: var(--red);
}

.budget_set {
  display: inline-block;
  margin-top: 14px;
  color: var(--ink_sub);
  font-size: 13px;
}

/* ===== calendar ===== */
.cal {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 14px;
}

.cal_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cal_title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cal_nav {
  display: flex;
  gap: 4px;
}

.cal_grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cal_dow {
  padding: 2px 0 6px;
  color: var(--ink_faint);
  font-size: 11px;
  text-align: center;
}
.cal_dow.is_sun {
  color: var(--red);
}

.cal_day {
  position: relative;
  min-height: 44px;
  padding: 3px 2px 4px;
  border-radius: 8px;
  text-align: center;
  font-family: var(--font_num);
  font-size: 12px;
  color: var(--ink_sub);
}
.cal_day.is_other {
  visibility: hidden;
}
.cal_day.is_today {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.cal_day.has_pay {
  background: var(--sheet_alt);
  color: var(--ink);
}

.cal_icons {
  display: flex;
  justify-content: center;
  margin-top: 2px;
}
.cal_icons .svc_icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-size: 9px;
  box-shadow: 0 0 0 1.5px var(--sheet);
}
.cal_icons .svc_icon + .svc_icon {
  margin-left: -6px;
}

.cal_more {
  display: block;
  margin-top: 1px;
  color: var(--ink_sub);
  font-size: 10px;
  line-height: 1;
}

.cal_sum {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--rule_strong);
  font-size: 13px;
  color: var(--ink_sub);
}
.cal_sum b {
  color: var(--ink);
  font-family: var(--font_num);
  font-weight: 600;
}

/* ===== service icon ===== */
.svc_icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  overflow: hidden;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.svc_icon img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}

.svc_icon_image {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(19, 32, 27, 0.1);
}
.svc_icon_image img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.svc_icon_upload img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc_icon_lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 20px;
}

/* ===== ledger（明細行） ===== */
.ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ledger_row + .ledger_row {
  border-top: 1px solid var(--rule);
}

.ledger_row:nth-child(even) .ledger_link {
  background: var(--sheet_alt);
}

.ledger_row .ledger_link:hover {
  background: var(--green_soft);
}

.ledger_link {
  display: grid;
  grid-template-columns: 64px 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 10px 20px 10px 16px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}

.ledger_date {
  font-family: var(--font_num);
  line-height: 1.15;
  text-align: center;
}
.ledger_date b {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
.ledger_date small {
  color: var(--ink_sub);
  font-family: var(--font);
  font-size: 11px;
}

.ledger_date_none {
  color: var(--ink_faint);
  font-size: 12px;
}

.ledger_body {
  min-width: 0;
}

.ledger_name {
  margin: 0;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ledger_meta {
  margin: 1px 0 0;
  color: var(--ink_sub);
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ledger_amount {
  text-align: right;
  white-space: nowrap;
}

.ledger_price {
  margin: 0;
  font-family: var(--font_num);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ledger_price small {
  margin-left: 2px;
  color: var(--ink_sub);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
}

.ledger_per {
  margin: 1px 0 0;
  color: var(--ink_sub);
  font-family: var(--font_num);
  font-size: 12px;
}

.is_soon .ledger_name span {
  background: linear-gradient(transparent 55%, var(--marker) 55%);
  color: var(--ink);
}

.is_soon .ledger_name span {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.ledger_foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 4px 0;
  color: var(--ink_sub);
  font-size: 13px;
}
.ledger_foot b {
  color: var(--ink);
  font-family: var(--font_num);
  font-weight: 600;
}

.ledger_link_compact {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  padding-left: 20px;
}

.save_amount {
  color: var(--green);
}

/* ----- 見直し候補 ----- */
.review_list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review_item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 16px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--marker);
  border-radius: var(--radius_sm);
}

.review_main {
  display: flex;
  flex: 1 1 260px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.review_body {
  flex: 1;
  min-width: 0;
}
.review_body b {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.review_body small {
  color: var(--ink_sub);
  font-size: 12px;
}

.review_amount {
  flex-shrink: 0;
  font-weight: 600;
}
.review_amount small {
  color: var(--ink_sub);
  font-family: var(--font);
  font-size: 11px;
}

.review_actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.review_actions .btn svg {
  width: 14px;
  height: 14px;
}

.hint_card {
  margin: 0;
  padding: 14px 16px;
  border: 1px dashed var(--rule_strong);
  border-radius: var(--radius_sm);
  color: var(--ink_sub);
  font-size: 13px;
}

.save_note {
  margin: 8px 0 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--green_soft);
  font-size: 13px;
}
.save_note b {
  font-family: var(--font_num);
}

.tag {
  display: inline-block;
  padding: 0 7px;
  border: 1px solid var(--rule_strong);
  border-radius: 5px;
  color: var(--ink_sub);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
  vertical-align: 1px;
}

.tag_marker {
  border-color: transparent;
  background: var(--marker);
  color: var(--on_marker);
}

.tag_red {
  border-color: var(--red);
  color: var(--red);
}

/* ===== toolbar / chips / segmented ===== */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.toolbar_grow {
  flex: 1 1 220px;
}

.seg {
  display: inline-flex;
  padding: 3px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 11px;
}

.seg_btn {
  flex-shrink: 0;
  min-height: 38px;
  padding: 4px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink_sub);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.seg_btn[aria-pressed=true] {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.chip_list {
  display: flex;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 36px;
  padding: 4px 13px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--sheet);
  color: var(--ink_sub);
  font-size: 13px;
  white-space: nowrap;
}
.chip[aria-pressed=true] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.chip .cat_dot {
  width: 7px;
  height: 7px;
}

/* ===== master grid ===== */
.svc_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 100%;
  min-height: 120px;
  padding: 16px 8px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--sheet);
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.2s var(--ease_out), box-shadow 0.2s ease;
}
.svc_card .svc_icon {
  width: 44px;
  height: 44px;
}
.svc_card:hover {
  border-color: var(--rule_strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.svc_card:active {
  transform: scale(0.98);
}

.svc_card_name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

.svc_card_price {
  margin-top: -5px;
  color: var(--ink_sub);
  font-family: var(--font_num);
  font-size: 11px;
}

.svc_card_custom {
  border-style: dashed;
  border-color: var(--rule_strong);
  background: transparent;
}
.svc_card_custom .svc_icon {
  background: var(--green_soft);
  color: var(--green);
}

.result_note {
  margin: 0 0 12px;
  color: var(--ink_sub);
  font-size: 13px;
}

/* ===== form ===== */
.form_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field_full {
  grid-column: 1/-1;
}

.field_label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}

.field_req {
  margin-left: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
}

.field_help {
  margin: 6px 0 0;
  color: var(--ink_sub);
  font-size: 12px;
  line-height: 1.6;
}

.field_error {
  margin: 6px 0 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--rule_strong);
  border-radius: var(--radius_sm);
  background: var(--sheet);
  font-size: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--ink_faint);
}
.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px var(--green_soft);
}
.input[aria-invalid=true],
.select[aria-invalid=true],
.textarea[aria-invalid=true] {
  border-color: var(--red);
}
.input::placeholder,
.select::placeholder,
.textarea::placeholder {
  color: var(--ink_faint);
}

.input[type=number] {
  font-family: var(--font_num);
}

.select {
  color-scheme: inherit;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a9a92' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.select option,
.select optgroup {
  background: var(--sheet);
  color: var(--ink);
}

.textarea {
  min-height: 96px;
  resize: vertical;
}

.input_row {
  display: flex;
  gap: 8px;
}
.input_row > * {
  min-width: 0;
}

.input_currency {
  width: 132px;
  flex-shrink: 0;
}

.input_color {
  width: 64px;
  flex-shrink: 0;
  padding: 4px;
}

.plan_pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan_btn {
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid var(--rule_strong);
  border-radius: var(--radius_sm);
  background: var(--sheet);
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.plan_btn:hover {
  border-color: var(--ink_faint);
}
.plan_btn[aria-pressed=true] {
  border-color: var(--green);
  background: var(--green_soft);
  box-shadow: inset 0 0 0 1px var(--green);
}
.plan_btn small {
  display: block;
  color: var(--ink_sub);
  font-family: var(--font_num);
  font-size: 12px;
  font-weight: 500;
}

.plan_block {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--rule_strong);
}

.svc_head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.svc_head_name {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.3;
}
.svc_head_name:focus {
  outline: none;
}

.svc_head_sub {
  margin: 4px 0 0;
  color: var(--ink_sub);
  font-size: 14px;
}

.svc_head_sub a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  white-space: nowrap;
}

.inline_icon {
  display: inline;
  margin-left: 2px;
  vertical-align: -2px;
}

.plan_row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 96px minmax(0, 1fr) 48px;
  gap: 8px;
  align-items: start;
  margin-bottom: 8px;
}

.plan_fieldset {
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.form_actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.form_actions_end {
  margin-left: auto;
}

/* ===== buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius_sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active:not(:disabled) {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn_primary {
  background: var(--green);
  color: var(--on_green);
}
.btn_primary:hover:not(:disabled) {
  background: var(--green_hover);
}

.btn_ghost {
  border-color: var(--rule_strong);
  background: var(--sheet);
  color: var(--ink);
}
.btn_ghost:hover:not(:disabled) {
  border-color: var(--ink_faint);
}

.btn_danger {
  border-color: var(--red);
  background: transparent;
  color: var(--red);
}
.btn_danger:hover:not(:disabled) {
  background: var(--red_soft);
}

.btn_block {
  width: 100%;
}

.btn_icon {
  width: 44px;
  min-height: 44px;
  padding: 0;
}

.btn_sm {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
}

.btn_group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== auth ===== */
.auth_wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  min-height: 100dvh;
}

.auth_side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  overflow: hidden;
  background: var(--green);
  color: var(--on_green);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 8px);
}

.auth_side_rows {
  position: absolute;
  inset: 48px 48px auto;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font_dot);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  opacity: 0.55;
}
.auth_side_rows li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.auth_side_copy {
  position: relative;
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.auth_main {
  display: grid;
  place-items: center;
  padding: 32px 24px;
  background: var(--paper);
}

.auth_card {
  width: 100%;
  max-width: 380px;
}

.auth_brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.auth_brand img {
  border-radius: 9px;
}

.auth_title {
  margin: 0 0 4px;
  font-size: clamp(22px, 2.6vw, 26px);
  font-weight: 700;
}

.auth_lead {
  margin: 0 0 24px;
  color: var(--ink_sub);
  font-size: 14px;
}

.auth_form {
  display: grid;
  gap: 16px;
}

.auth_links {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  font-size: 14px;
}

.auth_account_btn {
  margin: 8px 0 14px;
}

.auth_agree {
  margin: 0;
  color: var(--ink_sub);
  font-size: 13px;
  line-height: 1.7;
}
.auth_agree a {
  color: var(--green);
}

.auth_legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 18px;
  font-size: 12px;
}
.auth_legal a {
  flex-shrink: 0;
  color: var(--ink_sub);
  white-space: nowrap;
}

.form_alert {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--red);
  border-radius: 6px;
  background: var(--red_soft);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

.form_notice {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--green);
  border-radius: 6px;
  background: var(--green_soft);
  font-size: 14px;
}

/* ===== empty / misc ===== */
.empty_state {
  padding: 40px 24px;
  border: 1px dashed var(--rule_strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty_title {
  margin: 0 0 6px;
  font-weight: 700;
}

.empty_text {
  margin: 0 0 18px;
  color: var(--ink_sub);
  font-size: 14px;
}

.alert_list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.alert_item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius_sm);
  background: var(--sheet);
  border: 1px solid var(--rule);
  font-size: 14px;
}

.rate_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.setting_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.setting_row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.setting_row + .setting_row {
  border-top: 1px solid var(--rule);
}

.setting_row_name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.settings_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.settings_grid .card {
  min-width: 0;
}

.card_wide {
  grid-column: 1/-1;
}

.card_title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
}

/* ----- 通知設定 ----- */
.notify_form {
  display: grid;
  gap: 18px;
}

.notify_group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.check_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.check_chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
  padding: 6px 16px;
  border: 1px solid var(--rule_strong);
  border-radius: 999px;
  background: var(--sheet);
  color: var(--ink_sub);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.check_chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.check_chip:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.check_chip:has(input:focus-visible) {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.check_row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  cursor: pointer;
}
.check_row input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
}

.push_status {
  margin: 4px 0 0 30px;
}

.push_row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 14px;
  color: var(--ink_sub);
}

.device_list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.device_row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}
.device_row small {
  grid-column: 1;
  color: var(--ink_sub);
  font-size: 12px;
}
.device_row .btn {
  grid-column: 2;
  grid-row: 1/span 2;
}

.device_name {
  font-size: 14px;
  font-weight: 700;
}

.push_note {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius_sm);
  background: var(--sheet_alt);
  color: var(--ink_sub);
  font-size: 13px;
}

.export_list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.export_item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius_sm);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.export_item:hover {
  border-color: var(--green);
  background: var(--green_soft);
}

.export_badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  color: #ffffff;
  font-family: var(--font_num);
  font-size: 12px;
  font-weight: 600;
}

.export_badge_xlsx {
  background: #1d6f42;
}

.export_badge_csv {
  background: #56655e;
}

.export_text {
  min-width: 0;
}
.export_text b {
  display: block;
  font-size: 15px;
}
.export_text small {
  color: var(--ink_sub);
  font-size: 12px;
}

.offline_bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 6px 16px;
  background: var(--marker);
  color: var(--on_marker);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.loading {
  display: grid;
  place-items: center;
  min-height: 50dvh;
  color: var(--ink_sub);
}

/* ===== dialog / toast ===== */
.dialog {
  width: min(440px, 100% - 32px);
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}
.dialog::backdrop {
  background: rgba(14, 20, 18, 0.5);
}
.dialog[open] {
  animation: dialog_in 0.22s var(--ease_out);
}

@keyframes dialog_in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
.dialog_title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.dialog_text {
  margin: 0 0 16px;
  color: var(--ink_sub);
  font-size: 14px;
}

.dialog_actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.toast_area {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  width: max-content;
  max-width: calc(100vw - 32px);
  white-space: normal;
  animation: toast_in 0.25s var(--ease_out);
}

@keyframes toast_in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
/* ===== 起動演出：記帳 ===== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  place-items: center;
  padding: 24px;
  background: var(--paper);
  cursor: pointer;
}
.splash.is_on {
  display: grid;
}
.splash.is_out {
  animation: splash_out 0.55s var(--ease_out) forwards;
}
.splash.is_out .splash_book {
  animation: book_out 0.55s var(--ease_out) forwards;
}

.splash_book {
  position: relative;
  width: min(360px, 100%);
  overflow: hidden;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(19, 32, 27, 0.45);
  animation: book_in 0.5s var(--ease_out) both;
}

.splash_band {
  padding: 10px 18px;
  background: var(--green);
  color: var(--on_green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 7px);
}

.splash_rows {
  position: relative;
  margin: 0;
  padding: 8px 18px 14px;
  list-style: none;
}

.splash_row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  height: 30px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font_dot);
  font-size: 17px;
  font-weight: 700;
  clip-path: inset(0 100% 0 0);
  animation: print_row 0.32s steps(14, end) forwards;
}
.splash_row span:nth-child(2) {
  overflow: hidden;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.splash_total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 2px solid var(--ink);
  opacity: 0;
  animation: total_in 0.35s var(--ease_out) forwards;
}
.splash_total span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink_sub);
}
.splash_total b {
  font-family: var(--font_dot);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.splash_head {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(to right, transparent, var(--green_soft) 20%, var(--green_soft) 80%, transparent);
  opacity: 0.8;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: transform 0.3s var(--ease_out), opacity 0.3s ease;
}

.splash_stamp {
  position: absolute;
  right: 18px;
  bottom: 54px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transform: rotate(-14deg) scale(1.8);
  opacity: 0;
  animation: stamp 0.28s cubic-bezier(0.3, 1.6, 0.5, 1) forwards;
}

.splash_skip {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  color: var(--ink_faint);
  font-size: 12px;
  text-align: center;
}

@keyframes book_in {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(-1.5deg);
  }
}
@keyframes print_row {
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes total_in {
  to {
    opacity: 1;
  }
}
@keyframes stamp {
  to {
    opacity: 0.9;
    transform: rotate(-14deg) scale(1);
  }
}
@keyframes splash_out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes book_out {
  to {
    transform: translateY(-40px) scale(0.96);
  }
}
.is_entering .ledger_row {
  animation: row_in 0.4s var(--ease_out) both;
}
.is_entering .ledger_row:nth-child(1) {
  animation-delay: 40ms;
}
.is_entering .ledger_row:nth-child(2) {
  animation-delay: 80ms;
}
.is_entering .ledger_row:nth-child(3) {
  animation-delay: 120ms;
}
.is_entering .ledger_row:nth-child(4) {
  animation-delay: 160ms;
}
.is_entering .ledger_row:nth-child(5) {
  animation-delay: 200ms;
}
.is_entering .ledger_row:nth-child(6) {
  animation-delay: 240ms;
}
.is_entering .ledger_row:nth-child(7) {
  animation-delay: 280ms;
}
.is_entering .ledger_row:nth-child(8) {
  animation-delay: 320ms;
}

@keyframes row_in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *:not(.splash, .splash *, .is_entering .ledger_row),
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* ===== responsive ===== */
@media (max-width: 1024px) {
  .app_shell {
    grid-template-columns: 196px minmax(0, 1fr);
  }
  .main_area {
    padding: 28px 24px 56px;
  }
  .home_top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .app_shell {
    display: block;
  }
  .side_nav {
    display: none;
  }
  .main_area {
    padding: 20px 16px calc(var(--nav_h) + 32px + env(safe-area-inset-bottom));
  }
  .bottom_nav {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--sheet);
    border-top: 1px solid var(--rule);
  }
  .bottom_nav_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .bottom_link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: var(--nav_h);
    color: var(--ink_faint);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }
  .bottom_link[aria-current=page] {
    color: var(--green);
  }
  .bottom_add svg {
    padding: 4px;
    border-radius: 9px;
    background: var(--green);
    color: var(--on_green);
    width: 30px;
    height: 30px;
  }
  .head_add {
    display: none;
  }
  .toast_area {
    bottom: calc(var(--nav_h) + 16px + env(safe-area-inset-bottom));
  }
  .auth_wrap {
    grid-template-columns: 1fr;
  }
  .auth_side {
    min-height: 200px;
    padding: 28px 24px;
  }
  .auth_side_rows {
    inset: 20px 24px auto;
    font-size: 15px;
  }
  .settings_grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .page_head {
    margin-bottom: 16px;
  }
  .seg_btn,
  .chip,
  .btn_sm,
  .btn_icon {
    min-height: 44px;
  }
  .svc_head_sub a {
    min-height: 44px;
  }
  .card {
    padding: 18px 16px;
  }
  .passbook_band,
  .passbook_detail {
    padding-left: 16px;
    padding-right: 16px;
  }
  .ledger_link {
    grid-template-columns: 44px 36px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 64px;
    padding: 10px 14px 10px 8px;
  }
  .ledger_link .svc_icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .section_head {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .ledger_link_compact {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    padding-left: 14px;
  }
  .ledger_date b {
    font-size: 15px;
  }
  .review_actions {
    width: 100%;
  }
  .review_actions .btn {
    flex: 1;
  }
  .ledger_price {
    font-size: 15px;
  }
  .form_grid {
    grid-template-columns: 1fr;
  }
  .plan_row {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rule);
  }
  .plan_row > :first-child {
    grid-column: 1/-1;
  }
  .svc_grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }
  .svc_card {
    min-height: 112px;
    padding: 12px 6px 10px;
  }
  .cal_day {
    min-height: 40px;
  }
  .auth_side {
    min-height: 160px;
  }
  .auth_side_copy {
    font-size: 20px;
  }
}
.apps_nav {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.apps_nav_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}

.apps_nav_item:first-child {
  border-top: 0;
}

.apps_nav_icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.apps_nav_letter {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

.apps_nav_text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.apps_nav_text b {
  font-size: 15px;
  color: var(--ink);
}

.apps_nav_text small {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink_sub);
}

.apps_nav_about {
  align-self: flex-start;
  padding: 4px 0;
  font-size: 12px;
  color: var(--ink_sub);
  text-decoration: underline;
}

.apps_nav_item > .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.apps_nav_note {
  font-size: 13px;
  color: var(--ink_sub);
}
