/* more.css — Notebook (step 5), BLE Money (step 7), Settings › Phone (step 6). Board look. */

/* ---------- Notebook ---------- */
.nbk { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; max-width: 1240px; margin: 0 auto; padding: 24px 24px 80px; font-family: 'Kalam', cursive; color: #23201b; }
.nbk-side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--now-h, 0px) + 12px); align-self: start; max-height: calc(100vh - var(--now-h, 0px) - 24px); overflow-y: auto; scrollbar-width: thin; }
.nbk-searchrow { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.nbk-q { flex: 1; min-width: 0; font-size: 16px !important; padding: 8px 2px !important; }
.nbk-new { flex: none; }
.nbk-folders { display: flex; flex-direction: column; gap: 1px; }
.nbk-f { display: flex; justify-content: space-between; align-items: center; min-height: 36px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; font: inherit; font-size: 16px; color: #4a453d; cursor: pointer; text-align: left; }
.nbk-f span { font-size: 14px; color: #8b8478; }
.nbk-f:hover { background: #efebe3; }
.nbk-f.is-on { background: #f8e9e3; color: #a85338; }
.nbk-tags { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 4px; }
.nb-tag { border: 0; background: #efe8f5; color: #6b4a86; border-radius: 6px; font: inherit; font-size: 14px; padding: 1px 7px; cursor: pointer; }
.nb-tag.is-on, .nb-tag:hover { background: #6b4a86; color: #fff; }
.nbk-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 1px; border-top: 1.5px dashed #e2dbcf; padding-top: 8px; }
.nbk-pg { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 7px 10px; border: 0; border-radius: 6px; background: transparent; font: inherit; color: #23201b; text-align: left; cursor: pointer; }
.nbk-pg:hover { background: #f4f0e8; }
.nbk-pg.is-sel { background: #e6eef7; }
.nbk-pg__t { font-size: 17px; line-height: 1.25; }
.nbk-pg__m { font-size: 13px; color: #8b8478; font-weight: 300; }
.nbk-note { font-size: 13.5px; padding: 10px 6px; }
.nb-muted { color: #6f6a60; font-size: 15px; font-weight: 300; }
.nbk-main { min-width: 0; }
.nbk-page, .nbk-empty { background: rgba(255, 253, 250, .92); border-radius: 6px; padding: 28px 36px 40px; min-height: 60vh; }
.nbk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 14px; }
.nbk-crumb { flex: 1 1 200px; }
.nbk-bar .zf-tabs { margin: 0; }
.nbk-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.nbk-title { font-family: 'Caveat', cursive; font-size: 46px; font-weight: 700; line-height: 1.05; margin: 4px 0 12px; }
.nbk-title--in { width: 100%; border: 0 !important; background: transparent !important; color: #23201b; padding: 0 !important; }
.nbk-title--in:focus { outline: none; }
.nbk-body { width: 100%; min-height: 56vh; resize: vertical; font: inherit; font-size: 18px; color: #23201b; padding: 0 2px; }
.nbk-read { font-size: 18px; line-height: 28px; }
.nbk-read p { margin: 0 0 10px; }
.nb-h { font-family: 'Caveat', cursive; font-weight: 700; margin: 18px 0 4px; line-height: 1.1; }
.nb-h1 { font-size: 32px; } .nb-h2 { font-size: 28px; color: #2f5d8a; } .nb-h3 { font-size: 23px; }
.nb-ul { margin: 0 0 10px; padding-left: 22px; }
.nb-ul li.is-done { color: #8b8478; text-decoration: line-through; }
.nb-link { border: 0; background: none; padding: 0; font: inherit; color: #2f5d8a; cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.nb-link.is-new { color: #8b8478; }
.nb-link:hover { color: #a85338; }
.nbk-foot { margin-top: 28px; border-top: 1.5px dashed #e2dbcf; padding-top: 8px; }
.nbk-h2 { font-size: 26px; margin: 12px 0 4px; }
.nbk-ment { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.nbk-ask, .nbk-items { background: #f6f2ea; border-radius: 6px; padding: 12px 16px; margin: 0 0 16px; }
.nbk-ask .td-ask { display: flex; gap: 8px; align-items: center; }
.nbk-ask .td-ask input { flex: 1; }
.nbk-answer { margin-top: 10px; font-size: 17px; }
.nbk-map { width: 100%; height: auto; display: block; margin-top: 8px; }
.mp-ln { fill: none; stroke: #cfc7b8; stroke-width: 1.5; }
.mp-ln--k { stroke: #e2dbcf; stroke-dasharray: 3 4; }
.mp-dot { fill: #fffdfa; stroke: #2f5d8a; stroke-width: 2; }
.mp-dot--l { stroke: #6b4a86; } .mp-dot--sel { fill: #2f5d8a; }
.mp-c { font-family: 'Caveat', cursive; font-size: 34px; font-weight: 700; fill: #a85338; }
.mp-b { font-family: 'Caveat', cursive; font-size: 22px; font-weight: 700; fill: #23201b; }
.mp-k { font-family: 'Kalam', cursive; font-size: 15px; fill: #4a453d; }
.gr-n { cursor: pointer; } .gr-n:hover .mp-dot, .gr-n:focus .mp-dot { fill: #e6eef7; } .gr-n:focus { outline: none; }
@media (max-width: 899px) {
  .nbk { grid-template-columns: 1fr; padding: 12px 12px 80px; gap: 12px; }
  .nbk-side { position: static; max-height: none; }
  .nbk-list { max-height: 220px; overflow-y: auto; }
  .nbk-page, .nbk-empty { padding: 18px 16px 28px; }
  .nbk-title { font-size: 38px; }
}

/* ---------- BLE Money ---------- */
.mn { max-width: 1180px; margin: 0 auto; padding: 24px 24px 80px; font-family: 'Kalam', cursive; color: #23201b; display: flex; flex-direction: column; gap: 22px; }
.mn-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.mn-h1 { font-family: 'Caveat', cursive; font-size: 44px; font-weight: 700; margin: 0; line-height: 1.05; }
.mn-h2 { font-family: 'Caveat', cursive; font-size: 28px; font-weight: 700; margin: 0; }
.mn-month { display: flex; align-items: center; gap: 6px; }
.mn-month b { font-size: 28px; min-width: 170px; text-align: center; }
.mn .nb-ic { width: 40px; height: 40px; border: 0; border-radius: 6px; background: #efebe3; font-size: 20px; cursor: pointer; }
.mn .nb-ic:hover { background: #f8e9e3; color: #a85338; }
.mn-left { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; background: rgba(255, 253, 250, .92); border-radius: 6px; padding: 22px 28px; align-items: center; }
.mn-left > .nb-muted { grid-column: 1 / -1; }
.mn-big { display: flex; flex-direction: column; }
.mn-big b { font-size: 64px; line-height: 1; color: #2c6342; font-variant-numeric: tabular-nums; }
.mn-big b.is-neg, .is-neg { color: #b4463a !important; }
.mn-mood { font-size: 16px; color: #4a453d; }
.mn-eq { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 16.5px; }
.mn-eq div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1.5px dashed #ebe5da; padding: 3px 0; }
.mn-eq dt { color: #6f6a60; } .mn-eq dd { margin: 0; font-variant-numeric: tabular-nums; }
.mn-eq__tot { border-bottom: 0 !important; font-weight: 700; } .mn-eq__tot dt { color: #23201b; }
.mn-pays { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-top: 8px; }
.mn-pay { background: rgba(255, 253, 250, .92); border-radius: 6px; padding: 16px 18px; box-shadow: inset 3px 0 0 #2c6342; }
.mn-pay__h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mn-pay__h .td-hand { font-family: 'Caveat', cursive; font-size: 26px; font-weight: 700; }
.mn-pay__h b { font-size: 18px; font-variant-numeric: tabular-nums; }
.mn-pay__l { list-style: none; margin: 8px 0; padding: 0; font-size: 16px; }
.mn-pay__l li { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.mn-pay__l li.is-done span:first-child { text-decoration: line-through; color: #8b8478; }
.mn-pay__left { display: flex; justify-content: space-between; border-top: 1.5px dashed #e2dbcf; padding-top: 6px; font-size: 16px; }
.mn-pay__left b { color: #2c6342; font-variant-numeric: tabular-nums; }
.mn-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.mn-sec { background: rgba(255, 253, 250, .92); border-radius: 6px; padding: 18px 22px; }
.mn-sec__h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mn-sum { font-size: 18px; font-variant-numeric: tabular-nums; }
.mn-sec--income .mn-h2 { color: #2c6342; } .mn-sec--monthly .mn-h2 { color: #a85338; } .mn-sec--misc .mn-h2 { color: #6b4a86; } .mn-sec--savings .mn-h2 { color: #2f5d8a; }
.mn-list { list-style: none; margin: 6px 0 4px; padding: 0; display: flex; flex-direction: column; }
.mn-row { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-bottom: 1.5px dashed #efeae1; }
.mn-row .zf-chk { margin-top: 0; }
.mn-row.is-done .mn-name { color: #8b8478; text-decoration: line-through; }
.mn-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 17px; line-height: 1.25; }
.mn-meta { font-size: 13.5px; color: #6f6a60; font-weight: 300; text-decoration: none; }
.mn-late { color: #b4463a; font-weight: 400; }
.mn-amt { width: 96px; text-align: right; font-size: 17px !important; padding: 4px 2px !important; font-variant-numeric: tabular-nums; }
.mn-val { font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mn-x { width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: #8b8478; cursor: pointer; font-size: 18px; opacity: .5; }
.mn-row:hover .mn-x, .mn-x:focus-visible { opacity: 1; } .mn-x:hover { color: #a85338; }
.mn-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.mn-add input { flex: 1 1 120px; min-width: 0; font-size: 16px !important; }
.mn-add .mn-day { flex: 0 0 60px; }
.mn-addbtn { margin-top: 4px; }
.mn-empty { background: rgba(255, 253, 250, .92); border-radius: 6px; padding: 24px 28px; }
.mn-zuly .td-ask { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.mn-zuly .td-ask input { flex: 1; }
@media (max-width: 759px) {
  .mn { padding: 12px 12px 80px; gap: 16px; }
  .mn-left { grid-template-columns: 1fr; padding: 18px; }
  .mn-big b { font-size: 52px; }
  .mn-cols { grid-template-columns: 1fr; }
  .mn-h1 { font-size: 36px; }
}

/* ---------- Settings › Phone ---------- */
.ph-url { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #f6f2ea; border-radius: 6px; padding: 8px 12px; margin: 6px 0 10px; }
.ph-url code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 15px; }
