/* NuMemo V111 — memo-board appearance only. No changes to memo data, event handlers or calendar. */
:root { --nm-v111-mist: rgba(0,124,120,.05); --nm-v111-solid: #f2f8f8; }
/* Desktop: same surface across title, scrolling area and composer. */
body:not(.mobile-mode) .win[style*="--board-color"] .wi,
body:not(.mobile-mode) .win[style*="--board-color"] .wh,
body:not(.mobile-mode) .win[style*="--board-color"] .wb,
body:not(.mobile-mode) .win[style*="--board-color"] .wir,
body:not(.mobile-mode) .win[style*="--board-color"] .winp {
  background:var(--nm-v111-solid) !important;
  background:linear-gradient(var(--nm-v111-mist),var(--nm-v111-mist)),#fff !important;
}
body:not(.mobile-mode) .win[style*="--board-color"] .wh {
  border-bottom:0 !important; box-shadow:none !important;
}
body:not(.mobile-mode) .win[style*="--board-color"] .wh::before { display:none !important; }
body:not(.mobile-mode) .win[style*="--board-color"] .wh .wtitle,
body:not(.mobile-mode) .win[style*="--board-color"] .wh .whead,
body:not(.mobile-mode) .win[style*="--board-color"] .wh .wb2,
body:not(.mobile-mode) .win[style*="--board-color"] .wh button,
body:not(.mobile-mode) .win[style*="--board-color"] .wh i {
  color:var(--board-color,#007c78) !important;
  -webkit-text-fill-color:currentColor !important;
  text-shadow:none !important;
}
body:not(.mobile-mode) .win[style*="--board-color"] .wh .wb2,
body:not(.mobile-mode) .win[style*="--board-color"] .wh button {
  background:transparent !important; border-color:transparent !important;
}
/* Fixed-position visual mist on both ends of each scrolling memo list. */
body:not(.mobile-mode) .win[style*="--board-color"] .wb {
  -webkit-mask-image:linear-gradient(to bottom,transparent 0px,#000 26px,#000 calc(100% - 26px),transparent 100%) !important;
  mask-image:linear-gradient(to bottom,transparent 0px,#000 26px,#000 calc(100% - 26px),transparent 100%) !important;
}
/* Mobile web + Android WebView: original layout, controls, and scrolling retained. */
.mobbrd[style*="--board-color"],
.mobbrd[style*="--board-color"] .mob-unified-hdr,
.mobbrd[style*="--board-color"] .mobbdy,
.mobbrd[style*="--board-color"] .mob-input-area,
#app .mobbrd[style*="--board-color"] .mobbdy {
  background:linear-gradient(var(--nm-v111-mist),var(--nm-v111-mist)),#fff !important;
}
.mobbrd[style*="--board-color"] .mob-unified-hdr {
  border-bottom:0 !important; box-shadow:none !important;
}
.mobbrd[style*="--board-color"] .mob-unified-hdr::before {
  display:none !important;
}
.mobbrd[style*="--board-color"] .mob-unified-hdr .mob-board-name,
.mobbrd[style*="--board-color"] .mob-unified-hdr .wb2,
.mobbrd[style*="--board-color"] .mob-unified-hdr .mob-nav-btn,
.mobbrd[style*="--board-color"] .mob-unified-hdr button,
.mobbrd[style*="--board-color"] .mob-unified-hdr i {
  color:var(--board-color,#007c78) !important;
  -webkit-text-fill-color:currentColor !important;
  text-shadow:none !important;
}
.mobbrd[style*="--board-color"] .mob-unified-hdr .wb2,
.mobbrd[style*="--board-color"] .mob-unified-hdr .mob-nav-btn {
  background:transparent !important;
}
.mobbrd[style*="--board-color"] .mobbdy {
  -webkit-mask-image:linear-gradient(to bottom,transparent 0px,#000 26px,#000 calc(100% - 26px),transparent 100%) !important;
  mask-image:linear-gradient(to bottom,transparent 0px,#000 26px,#000 calc(100% - 26px),transparent 100%) !important;
}
/* Avoid browser mask artifacts in short/empty memo lists. */
@media (prefers-reduced-motion:reduce) {
  .mobbrd[style*="--board-color"] .mobbdy,
  body:not(.mobile-mode) .win[style*="--board-color"] .wb {
    -webkit-mask-image:none !important; mask-image:none !important;
  }
}


/* V112 — per-board 95%-transparent tint; restore board-specific header icons,
   remove composer divider, retain scroll-list mist. No data or JS changes. */
/* The original V111 root green tint is overridden only inside each board. */
body:not(.mobile-mode) .win[style*="--board-color"],
.mobbrd[style*="--board-color"] {
  --nm-v111-mist: color-mix(in srgb, var(--board-color, #007c78) 5%, transparent);
  --nm-v111-solid: color-mix(in srgb, var(--board-color, #007c78) 5%, white);
}
body:not(.mobile-mode) .win[style*="--board-color"] .wi,
body:not(.mobile-mode) .win[style*="--board-color"] .wh,
body:not(.mobile-mode) .win[style*="--board-color"] .wb,
body:not(.mobile-mode) .win[style*="--board-color"] .wir,
body:not(.mobile-mode) .win[style*="--board-color"] .winp,
.mobbrd[style*="--board-color"],
.mobbrd[style*="--board-color"] .mob-unified-hdr,
.mobbrd[style*="--board-color"] .mobbdy,
.mobbrd[style*="--board-color"] .mob-input-area,
#app .mobbrd[style*="--board-color"] .mobbdy {
  background:var(--nm-v111-solid) !important;
  background-image:none !important;
}
/* Header: use the same per-board color for title, search, menu and icon glyphs. */
body:not(.mobile-mode) .win[style*="--board-color"] .wh,
.mobbrd[style*="--board-color"] .mob-unified-hdr {
  color:var(--board-color) !important;
  border:0 !important;
  box-shadow:none !important;
}
body:not(.mobile-mode) .win[style*="--board-color"] .wh :is(.whead,.wtitle,.wb2,button,i,svg),
.mobbrd[style*="--board-color"] .mob-unified-hdr :is(.mob-board-name,.mob-hdr-right,.wb2,.mob-nav-btn,button,i,svg) {
  color:var(--board-color) !important;
  -webkit-text-fill-color:var(--board-color) !important;
  stroke:currentColor;
  text-shadow:none !important;
}
body:not(.mobile-mode) .win[style*="--board-color"] .wh :is(.wb2,button),
.mobbrd[style*="--board-color"] .mob-unified-hdr :is(.wb2,.mob-nav-btn,button) {
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}
/* The divider often belongs to a nested composer row, not just the outer footer. */
body:not(.mobile-mode) .win[style*="--board-color"] :is(.winp,.wir,.web-input-row-v160),
.mobbrd[style*="--board-color"] :is(.mob-input-area,.mob-input-row) {
  border-top-color:transparent !important;
  border-bottom-color:transparent !important;
  box-shadow:none !important;
}
body:not(.mobile-mode) .win[style*="--board-color"] .winp,
.mobbrd[style*="--board-color"] .mob-input-area {
  border-top:0 !important;
  background:var(--nm-v111-solid) !important;
  position:relative;
}
/* Keep textarea/input's own outline: only remove the region divider. */
/* A misty transition on the memo list only, never on text input or header controls. */
body:not(.mobile-mode) .win[style*="--board-color"] .wb,
.mobbrd[style*="--board-color"] .mobbdy {
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 26px,#000 calc(100% - 28px),transparent 100%) !important;
  mask-image:linear-gradient(to bottom,transparent 0,#000 26px,#000 calc(100% - 28px),transparent 100%) !important;
}


/* V113 — header search/menu glyphs: targeted override of legacy white !important.
   Keep board color variable, existing menu content, and all JS untouched. */
html body:not(.mobile-mode) .win[style*="--board-color"] .wh .wb2,
html body:not(.mobile-mode) .win[style*="--board-color"] .wh .wb2 > i,
html body:not(.mobile-mode) .win[style*="--board-color"] .wh .wb2 > i::before,
html body:not(.mobile-mode) .win[style*="--board-color"] .wh .ib,
html body:not(.mobile-mode) .win[style*="--board-color"] .wh .ib > i,
html body:not(.mobile-mode) .win[style*="--board-color"] .wh .ib > i::before,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-hdr-right > .wb2,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-hdr-right > .wb2 > i,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-hdr-right > .wb2 > i::before,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-hdr-right > div > .wb2,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-hdr-right > div > .wb2 > i,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-hdr-right > div > .wb2 > i::before {
  color:var(--board-color,#007c78) !important;
  -webkit-text-fill-color:var(--board-color,#007c78) !important;
  opacity:1 !important;
  text-shadow:none !important;
}
/* Tabler icons are icon-font pseudo-elements: avoid legacy white fill/stroke. */
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-hdr-right > .wb2 > i,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-hdr-right > div > .wb2 > i {
  -webkit-text-stroke:0 !important;
}


/* V114 — scoped board-only refinements (web + Android).
   Preserve white memo cards, memo events, and the existing calendar. */
/* Match the 5%-opaque board colour on the scroll surface and its container.
   A neutral #fff/grey background from legacy .wi/.mobbdy rules must not show through. */
html body:not(.mobile-mode) .win[style*="--board-color"] .wi,
html body:not(.mobile-mode) .win[style*="--board-color"] .wb,
html body:not(.mobile-mode) .win[style*="--board-color"] .wh,
html body:not(.mobile-mode) .win[style*="--board-color"] .wir,
html body:not(.mobile-mode) .win[style*="--board-color"] .winp,
html body .mobbrd[style*="--board-color"],
html body .mobbrd[style*="--board-color"] .mobbdy,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr,
html body .mobbrd[style*="--board-color"] .mob-input-area {
  background:color-mix(in srgb,var(--board-color,#007c78) 5%,#fff) !important;
  background-image:none !important;
}
/* Reduce the outline around each complete board without changing its dimensions. */
html body:not(.mobile-mode) .win[style*="--board-color"],
html body:not(.mobile-mode) .win[style*="--board-color"] .wi,
html body .mobbrd[style*="--board-color"] {
  border-color:color-mix(in srgb,var(--board-color,#007c78) 12%,#e8edf2) !important;
  box-shadow:0 1px 4px rgba(18,35,49,.035) !important;
}
/* Card outlines only: leave the actual memo-card surface pure white. */
html body:not(.mobile-mode) .win[style*="--board-color"] .wb > .row,
html body .mobbrd[style*="--board-color"] .mobbdy > .row {
  background:#fff !important;
  border-color:#e8edf2 !important;
  box-shadow:0 1px 3px rgba(18,35,49,.035) !important;
}
/* Android Capacitor has later, higher-specificity white title/nav declarations.
   Override text and Tabler icon glyphs with the existing per-board colour. */
html.capacitor body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-board-name,
html.capacitor body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-nav-btn,
html.capacitor body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-nav-btn i,
html.capacitor body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-nav-btn i::before,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-board-name,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-nav-btn,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-nav-btn i {
  color:var(--board-color,#007c78) !important;
  -webkit-text-fill-color:var(--board-color,#007c78) !important;
  text-shadow:none !important;
  opacity:1 !important;
}
html.capacitor body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-nav-btn:disabled {
  opacity:.38 !important;
}


/* V115 — desktop web ONLY: board-colour tint behind white memo cards.
   Root cause: legacy #app .wb / body:not(.mobile-mode) #app .win .wb
   rules forced neutral #f5f6f7 and overrode the earlier .win .wb tint.
   No changes to Android/mobile selectors, card contents, scrolling or JS. */
html body:not(.mobile-mode) #app .win[style*="--board-color"] > .wi {
  background-color:color-mix(in srgb,var(--board-color,#007c78) 5%,#fff) !important;
}
html body:not(.mobile-mode) #app .win[style*="--board-color"] > .wi > .wb {
  background:color-mix(in srgb,var(--board-color,#007c78) 5%,#fff) !important;
  background-image:none !important;
  /* Existing V111 scroll-edge mist and card-white styles remain in force. */
}


/* V116 — Android top bar ONLY. The actual .mob-unified-hdr has an inline
   --board-color, and legacy capacitor rules target that attribute directly,
   overriding earlier .mobbrd-based title/arrow colours. Match the real
   header element and its glyphs at higher specificity, without changing
   desktop web, memo cards, input controls, or stored board colours. */
html.capacitor body #app .mobbrd[style*="--board-color"] .mob-unified-hdr[style*="--board-color"] .mob-board-name,
html.capacitor body #app .mobbrd[style*="--board-color"] .mob-unified-hdr[style*="--board-color"] .mob-nav-btn,
html.capacitor body #app .mobbrd[style*="--board-color"] .mob-unified-hdr[style*="--board-color"] .mob-nav-btn > i,
html.capacitor body #app .mobbrd[style*="--board-color"] .mob-unified-hdr[style*="--board-color"] .mob-nav-btn > i::before {
  color:var(--board-color,#007c78) !important;
  -webkit-text-fill-color:var(--board-color,#007c78) !important;
  text-shadow:none !important;
}
html.capacitor body #app .mobbrd[style*="--board-color"] .mob-unified-hdr[style*="--board-color"] .mob-nav-btn {
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}
html.capacitor body #app .mobbrd[style*="--board-color"] .mob-unified-hdr[style*="--board-color"] .mob-nav-btn:disabled {
  opacity:.38 !important;
}

/* V117: borderless subtle elevation, memo boards only. No layout or JS changes. */
html body:not(.mobile-mode) #app .win[style*="--board-color"] {
 border-color:transparent !important; outline:none !important;
 box-shadow:0 9px 24px rgba(27,42,60,.075),0 2px 7px rgba(27,42,60,.03) !important;
}
html body:not(.mobile-mode) #app .win[style*="--board-color"] > .wi {
 border-color:transparent !important; outline:none !important; box-shadow:none !important;
}
html body #app .mobbrd[style*="--board-color"] {
 border-color:transparent !important; outline:none !important;
 box-shadow:0 7px 20px rgba(27,42,60,.055),0 1px 5px rgba(27,42,60,.02) !important;
}
html body #app .mobbrd[style*="--board-color"] .mob-unified-hdr {border-color:transparent !important;}
html body:not(.mobile-mode) #app .win[style*="--board-color"] .wb > .row,
html body #app .mobbrd[style*="--board-color"] .mobbdy > .row {
 border-color:rgba(158,172,190,.10) !important;
 box-shadow:0 3px 11px rgba(35,50,69,.04),0 1px 2px rgba(35,50,69,.015) !important;
}
@media (forced-colors:active) {
 html body:not(.mobile-mode) #app .win[style*="--board-color"],
 html body #app .mobbrd[style*="--board-color"] {border-color:CanvasText !important;box-shadow:none !important;}
}


/* V118 — PC WEB ONLY: explicit desktop board and memo card elevation.
   V117's 4% opacity card shadow was imperceptible on white; scope to #desk.
   Do not affect Android, mobile-mode, calendar, or any interactions. */
@media (min-width: 700px) {
  html body:not(.mobile-mode) #desk > .win {
    border:1px solid transparent !important;
    outline:0 !important;
    box-shadow:0 12px 30px rgba(32,51,75,.14),
               0 3px 9px rgba(32,51,75,.065) !important;
  }
  html body:not(.mobile-mode) #desk > .win > .wi {
    border:0 !important;
    outline:0 !important;
  }
  html body:not(.mobile-mode) #desk > .win .wb > .row {
    border:1px solid rgba(155,171,191,.075) !important;
    box-shadow:0 5px 15px rgba(32,51,75,.095),
               0 1px 3px rgba(32,51,75,.035) !important;
  }
  html body:not(.mobile-mode) #desk > .win .wb > .row:hover {
    box-shadow:0 8px 21px rgba(32,51,75,.12),
               0 2px 5px rgba(32,51,75,.04) !important;
  }
}
@media (forced-colors:active) {
  html body:not(.mobile-mode) #desk > .win,
  html body:not(.mobile-mode) #desk > .win .wb > .row {
    border:1px solid CanvasText !important;
    box-shadow:none !important;
  }
}


/* V119: original concept-level floating card depth, PC web memo boards only.
   No modifications to dimensions, positioning, functionality, mobile, calendar. */
@media (min-width:700px) {
  html body:not(.mobile-mode) #desk > .win[style*="--board-color"] {
    border-color:transparent !important;
    outline:none !important;
    box-shadow:0 15px 38px rgba(30,64,115,.19),
               0 5px 14px rgba(30,64,115,.085) !important;
  }
  html body:not(.mobile-mode) #desk > .win[style*="--board-color"] > .wi {
    border-color:transparent !important;
    outline:none !important;
  }
  html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row {
    background:#fff !important;
    border-color:transparent !important;
    box-shadow:0 10px 24px rgba(38,78,140,.20),
               0 3px 9px rgba(38,78,140,.085),
               0 1px 1px rgba(255,255,255,.85) inset !important;
    transition:box-shadow .18s ease !important;
  }
  html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:hover {
    box-shadow:0 8px 12px -7px rgba(38,78,140,.23),
               0 3px 5px -3px rgba(38,78,140,.08) !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row {
    transition:none !important;
  }
}
@media (forced-colors:active) {
  html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row {
    border:1px solid CanvasText !important;
    box-shadow:none !important;
  }
}


/* V120 — calendar ONLY: eliminate orange perimeter exposed by older
   corner-fix background (#F97316) and generic desktop window border.
   Keep grid, header, today highlight, radius and calendar interactions. */
@media (min-width:700px) {
  html body:not(.mobile-mode) #desk > .win.nm-cal-win,
  html body:not(.mobile-mode) #desk > .win.nm-cal-win:hover {
    border:1px solid transparent !important;
    outline:none !important;
    background:#fff !important;
    box-shadow:0 4px 16px rgba(15,23,42,.09) !important;
  }
  html body:not(.mobile-mode) #desk > .win.nm-cal-win > .wi {
    border:0 !important;
    outline:none !important;
    background:#fff !important;
  }
}
/* Neutralize legacy orange corner-fill at all viewport sizes. */
html body #app .win.nm-cal-win,
html body #app .win.nm-cal-win > .wi {
  background:#fff !important;
}


/* V121: calendar weekday/today colours restored; window perimeter remains transparent. */
html body .nm-cal-box .nm-cal-weekdays .nm-cal-wd.is-sun,
html body .nm-cal-box .nm-cal-daynum.is-sun {color:#dc2626 !important;}
html body .nm-cal-box .nm-cal-weekdays .nm-cal-wd.is-sat,
html body .nm-cal-box .nm-cal-daynum.is-sat {color:#2563eb !important;}
html body .nm-cal-box .nm-cal-cell.is-today {
  box-shadow:inset 0 0 0 1.5px #dc2626 !important;
  background:#fffafa !important;
}
html body .nm-cal-box .nm-cal-cell.is-today .nm-cal-daynum,
html body .nm-cal-box .nm-cal-cell.is-today .nm-cal-today-label {color:#dc2626 !important;}


/* V122 — PC preview: restrained irregular ambient waves INSIDE each memo card.
   CSS-only: no randomness, tracking, animation, DOM or memo data changes.
   Eleven distinct spatial compositions cycle for long memo lists.
   Neutral white centre and original legibility are preserved. */
@media (min-width:700px) {
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row {
   --wave-x:12%;
   --wave-y:5%;
   --wave-x2:90%;
   --wave-y2:98%;
   --wave-a:7%;
   --wave-b:4%;
   background-color:#fff !important;
   background-image:
     radial-gradient(ellipse 68% 45% at var(--wave-x) var(--wave-y),
       color-mix(in srgb,var(--board-color,#7c90bb) var(--wave-a),transparent) 0%,
       transparent 85%),
     radial-gradient(ellipse 70% 40% at var(--wave-x2) var(--wave-y2),
       color-mix(in srgb,var(--board-color,#7c90bb) var(--wave-b),transparent) 0%,
       transparent 90%),
     linear-gradient(148deg,rgba(255,255,255,.98),rgba(250,252,255,.35) 58%,rgba(255,255,255,1))
     !important;
   background-repeat:no-repeat !important;
   box-shadow:0 7px 10px -7px rgba(38,78,140,.20),
              0 3px 5px -3px rgba(38,78,140,.07),
              inset 0 1px 0 rgba(255,255,255,.98) !important;
 }
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:nth-child(11n + 1) {--wave-x:7%;--wave-y:4%;--wave-x2:93%;--wave-y2:95%;}
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:nth-child(11n + 2) {--wave-x:87%;--wave-y:12%;--wave-x2:13%;--wave-y2:84%;}
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:nth-child(11n + 3) {--wave-x:28%;--wave-y:99%;--wave-x2:97%;--wave-y2:6%;}
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:nth-child(11n + 4) {--wave-x:95%;--wave-y:75%;--wave-x2:6%;--wave-y2:15%;}
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:nth-child(11n + 5) {--wave-x:38%;--wave-y:2%;--wave-x2:75%;--wave-y2:100%;}
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:nth-child(11n + 6) {--wave-x:8%;--wave-y:57%;--wave-x2:94%;--wave-y2:5%;}
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:nth-child(11n + 7) {--wave-x:73%;--wave-y:7%;--wave-x2:22%;--wave-y2:96%;}
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:nth-child(11n + 8) {--wave-x:98%;--wave-y:41%;--wave-x2:6%;--wave-y2:99%;}
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:nth-child(11n + 9) {--wave-x:18%;--wave-y:93%;--wave-x2:87%;--wave-y2:19%;}
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:nth-child(11n + 10) {--wave-x:56%;--wave-y:1%;--wave-x2:98%;--wave-y2:90%;}
 html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wb > .row:nth-child(11n) {--wave-x:4%;--wave-y:26%;--wave-x2:69%;--wave-y2:95%;}
}


/* V123: readable title/icon tone per memo board; board background stays unchanged. */
html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh,
html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh :is(.whead,.wtitle,.wb2,button,i,svg),
html body .mobbrd[style*="--board-color"] .mob-unified-hdr,
html body .mobbrd[style*="--board-color"] .mob-unified-hdr :is(.mob-board-name,.mob-hdr-right,.wb2,.mob-nav-btn,button,i,svg) {
 color:var(--nm-readable-board-color,var(--board-color)) !important;
 -webkit-text-fill-color:var(--nm-readable-board-color,var(--board-color)) !important;
}
html body:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh :is(.whead,.wtitle),
html body .mobbrd[style*="--board-color"] .mob-unified-hdr .mob-board-name {
 font-weight:500 !important;
 text-shadow:none !important;
}


/* V124 — Android/mobile memo cards: same restrained 3D depth and soft,
   per-card ambient waves as desktop; preserve existing scroll and controls. */
html body #app .mobbrd[style*="--board-color"] .mobbdy > .row {
  --wave-x:12%;--wave-y:5%;--wave-x2:90%;--wave-y2:98%;
  background-color:#fff !important;
  background-image:
    radial-gradient(ellipse 68% 45% at var(--wave-x) var(--wave-y),
      color-mix(in srgb,var(--board-color,#7c90bb) 7%,transparent),transparent 85%),
    radial-gradient(ellipse 70% 40% at var(--wave-x2) var(--wave-y2),
      color-mix(in srgb,var(--board-color,#7c90bb) 4%,transparent),transparent 90%)
    !important;
  background-repeat:no-repeat !important;
  border-color:transparent !important;
  box-shadow:0 7px 10px -7px rgba(38,78,140,.20),
             0 3px 5px -3px rgba(38,78,140,.07),
             inset 0 1px 0 rgba(255,255,255,.9) !important;
}
html body #app .mobbrd[style*="--board-color"] .mobbdy > .row:nth-child(7n + 1){--wave-x:7%;--wave-y:4%;--wave-x2:93%;--wave-y2:95%}
html body #app .mobbrd[style*="--board-color"] .mobbdy > .row:nth-child(7n + 2){--wave-x:87%;--wave-y:12%;--wave-x2:13%;--wave-y2:84%}
html body #app .mobbrd[style*="--board-color"] .mobbdy > .row:nth-child(7n + 3){--wave-x:28%;--wave-y:99%;--wave-x2:97%;--wave-y2:6%}
html body #app .mobbrd[style*="--board-color"] .mobbdy > .row:nth-child(7n + 4){--wave-x:95%;--wave-y:75%;--wave-x2:6%;--wave-y2:15%}
html body #app .mobbrd[style*="--board-color"] .mobbdy > .row:nth-child(7n + 5){--wave-x:38%;--wave-y:2%;--wave-x2:75%;--wave-y2:100%}
html body #app .mobbrd[style*="--board-color"] .mobbdy > .row:nth-child(7n + 6){--wave-x:8%;--wave-y:57%;--wave-x2:94%;--wave-y2:5%}
html body #app .mobbrd[style*="--board-color"] .mobbdy > .row:nth-child(7n){--wave-x:73%;--wave-y:7%;--wave-x2:22%;--wave-y2:96%}

@media (forced-colors:active) {
 html body #app .mobbrd[style*="--board-color"] .mobbdy > .row {
  border:1px solid CanvasText !important;box-shadow:none !important;background-image:none !important;
 }
}

/* V126 — Today indicator only (desktop web + Android/mobile).
   Keep outer calendar border transparent and weekend colours unchanged. */
html body .nm-cal-box .nm-cal-cell.is-today {
  box-shadow: inset 0 0 0 1.5px #F97316 !important;
  background: transparent !important;
}
html body .nm-cal-box .nm-cal-cell.is-today .nm-cal-today-label {
  color: #F97316 !important;
  -webkit-text-fill-color: #F97316 !important;
}

/* V130: actual desktop .win > .wi > .wh and mobile .mobbrd > .mob-unified-hdr. */
html body #app .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board),
html body #desk .win[style*="--board-color"]:not(.nm-cal-win) {
 --nm-header-surface: color-mix(in srgb,var(--board-color) 5%,white);
}
html body #app #mba .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board),
html body #app #mba .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board) > .mobbdy,
html body #desk .win[style*="--board-color"]:not(.nm-cal-win) > .wi,
html body #desk .win[style*="--board-color"]:not(.nm-cal-win) > .wi > .wb {
 background:var(--nm-header-surface) !important;
}
html body #app #mba .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board) > .mob-unified-hdr,
html body #desk .win[style*="--board-color"]:not(.nm-cal-win) > .wi > .wh {
 /* V131: fade all highlights to the exact shared body surface at the bottom. */
 background:linear-gradient(to bottom,transparent 0%,var(--nm-header-surface) 100%),radial-gradient(ellipse 65% 100% at 12% 0%,rgba(255,255,255,.85),transparent 85%),radial-gradient(ellipse 55% 85% at 88% 5%,color-mix(in srgb,var(--board-color) 10%,transparent),transparent 90%),var(--nm-header-surface) !important;
 box-shadow:none !important;
 border:0 !important;
 border-bottom:1px solid #fff !important;
 border-bottom-left-radius:0 !important;
 border-bottom-right-radius:0 !important;
}
html body #app #mba .mobbrd[style*="--board-color"] > .mob-unified-hdr::before,
html body #app #mba .mobbrd[style*="--board-color"] > .mob-unified-hdr::after,
html body #desk .win[style*="--board-color"] > .wi > .wh::before {background:none !important; opacity:0 !important;}
html body #app .nm-cal-box > .nm-cal-head,
html body #desk .nm-cal-box > .nm-cal-head {background:#fff !important;box-shadow:none !important;}

/* V132: memo headers only; preserve V131 surface and all interactions. */
html body:not(.mobile-mode) #desk > .win[style*="--board-color"]:not(.nm-cal-win) > .wi > .wh {
 padding-inline:12px 16px !important;
}
html body:not(.mobile-mode) #desk > .win[style*="--board-color"]:not(.nm-cal-win) > .wi > .wh > .wtitle {
 position:relative !important; left:auto !important; top:auto !important; transform:none !important;
 text-align:left !important; color:#525E71 !important; -webkit-text-fill-color:#525E71 !important;
 padding-inline:0 !important; max-width:calc(100% - 64px) !important; min-width:0 !important; flex:0 1 auto !important;
}
html body #app #mba .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board) > .mob-unified-hdr {
 display:flex !important; align-items:center !important; justify-content:space-between !important;
 padding-inline:12px 16px !important; gap:8px !important;
}
html body #app #mba .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board) > .mob-unified-hdr > .mob-nav-btn {
 display:none !important;
}
html body #app #mba .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board) > .mob-unified-hdr > .mob-board-name {
 position:relative !important; left:auto !important; top:auto !important; transform:none !important;
 flex:1 1 auto !important; min-width:0 !important; max-width:none !important;
 padding-inline:0 !important; text-align:left !important;
 color:#525E71 !important; -webkit-text-fill-color:#525E71 !important;
}
html body #app #mba .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board) > .mob-unified-hdr > .mob-hdr-right {
 flex:0 0 auto !important; margin:0 !important; justify-content:flex-end !important; gap:8px !important;
}

/* V135: exact live memo setting + 0.5 CSS pixel, title only. */
html body:not(.mobile-mode) #desk > .win[style*="--board-color"]:not(.nm-cal-win) > .wi > .wh > .wtitle,
html body #app #mba .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board) > .mob-unified-hdr > .mob-board-name {
 font-size:calc(var(--memo-size, 11px) + 0.8px) !important;
 font-family:var(--memo-family, inherit) !important;
 font-weight:var(--memo-weight, 400) !important;
 font-style:var(--memo-style, normal) !important;
}

/* V138: urgent indicator must not consume title alignment space. */
html body:not(.mobile-mode) #desk > .win[style*="--board-color"]:not(.nm-cal-win) > .wi > .wh > .wdot {
 position:absolute !important; left:2px !important; top:50% !important; transform:translateY(-50%) !important; margin:0 !important;
}

/* V139: neutral memo launcher and left drawer; existing list actions unchanged. */
html body #app #tb .chip.chip-h.nm-header-board-chip-v303w67 {
 background:transparent !important; background-image:none !important; box-shadow:none !important;
 border:0 !important; color:#6b7280 !important; border-radius:8px !important;
 width:30px !important; min-width:30px !important; max-width:30px !important;
 height:30px !important; min-height:30px !important; max-height:30px !important;
 padding:0 !important; flex:0 0 30px !important; display:inline-flex !important;
 align-items:center !important; justify-content:center !important;
}
html body #app #tb .chip.chip-h.nm-header-board-chip-v303w67::before,
html body #app #tb .chip.chip-h.nm-header-board-chip-v303w67::after {content:none !important;}
html body #app #tb .chip.chip-h.nm-header-board-chip-v303w67 .nm-header-note-stack-icon-v303w67 {
 color:#6b7280 !important; width:20px !important; height:20px !important; flex:0 0 20px !important; filter:none !important; opacity:1 !important;
}
html body #app #tb .chip.chip-h.nm-header-board-chip-v303w67 .nm-header-note-stack-icon-v303w67 svg {width:20px !important;height:20px !important;stroke:currentColor !important;stroke-width:2 !important;filter:none !important;}
html body #app #tb .chip.chip-h.nm-header-board-chip-v303w67 .nm-header-chip-caret-v303w67 {display:none !important;}
html body #webBoardDropdownV303W1, html body #mobBoardDropdownV274 {
 position:fixed !important; left:0 !important; right:auto !important;
 width:min(360px,78vw) !important; max-width:78vw !important;
 box-sizing:border-box !important; border:0 !important; border-radius:0 14px 14px 0 !important;
 background:#fff !important; background-image:none !important; backdrop-filter:none !important;
 padding:8px !important; box-shadow:8px 0 28px rgba(15,23,42,.16) !important;
 overflow-y:auto !important; overscroll-behavior:contain; z-index:99999 !important;
}
html body #webBoardDropdownV303W1 .web-board-dropdown-item-v303w1,
html body #mobBoardDropdownV274 .mob-board-dropdown-item-v274 {min-height:44px !important; font-weight:500 !important; border-radius:8px !important;}
html body #webBoardDropdownV303W1 .web-board-dropdown-name-v303w1,
html body #mobBoardDropdownV274 .mob-board-dropdown-name-v274 {font-weight:500 !important;}
@keyframes nmDrawerEnter139 {from{transform:translateX(-100%)}to{transform:translateX(0)}}
html body #webBoardDropdownV303W1.nm-drawer-enter-v139,html body #mobBoardDropdownV274.nm-drawer-enter-v139 {animation:nmDrawerEnter139 .24s cubic-bezier(.2,.75,.25,1) both !important;}
@media(prefers-reduced-motion:reduce){html body #webBoardDropdownV303W1.nm-drawer-enter-v139,html body #mobBoardDropdownV274.nm-drawer-enter-v139{animation:none !important;}}

/* V140: retain the existing dot slot as blank spacing, only in board drawers. */
html body #webBoardDropdownV303W1 .web-board-dropdown-dot-v303w1,
html body #mobBoardDropdownV274 .mob-board-dropdown-dot-v274 {
 visibility:hidden !important;
}
/* V141: icon slot, isolated from memo content and calendar. */
html body .nm-board-icon-v141{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto!important;width:calc(var(--memo-size,11px) + .7px);height:calc(var(--memo-size,11px) + .7px);font-size:calc(var(--memo-size,11px) + .7px)!important;line-height:1!important;padding:0!important;margin:0 6px 0 0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;-webkit-text-fill-color:initial!important;font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif!important;cursor:pointer;position:relative;z-index:2;}
html body .nm-board-icon-v141.nm-icon-empty{color:#9299a5!important;font-family:inherit!important;}
html body .nm-board-icon-v141::after{content:'';position:absolute;inset:-7px -3px;}
.nm-icon-picker-v141{position:fixed;z-index:100001;width:min(330px,calc(100vw - 16px));box-sizing:border-box;background:#fff;color:#242832;border:1px solid #e6e8ef;border-radius:14px;box-shadow:0 12px 35px #17233b25;padding:12px;overflow:auto;overscroll-behavior:contain;font-family:system-ui,sans-serif;}
.nm-icon-picker-head{display:flex;align-items:center;justify-content:space-between;font-weight:600;font-size:14px;margin-bottom:8px;}.nm-icon-picker-v141 button{border:0;background:transparent;color:inherit;cursor:pointer;border-radius:7px;padding:6px;}.nm-icon-tabs{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:10px;}.nm-icon-tabs button{font-size:12px;background:#f3f4f7;}.nm-icon-tabs button[aria-pressed=true]{background:#ffeddc;color:#b64d0b;}.nm-icon-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;}.nm-icon-grid button{font-size:23px;line-height:1.4;min-height:36px;}.nm-icon-grid button:hover,.nm-icon-grid button:focus-visible{background:#f1f3f8;}.nm-icon-clear{display:block;margin-top:8px;font-size:12px;color:#747b87!important;}

/* V145: only the horizontal header/body divider; no perimeter highlight. */
html body #app #mba .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board) > .mob-unified-hdr,
html body #desk .win[style*="--board-color"]:not(.nm-cal-win) > .wi > .wh {
 border:0 !important; border-bottom:1px solid #fff !important;
 box-shadow:none !important; outline:none !important;
}

/* V148: title glyph breathing room; retain single-line ellipsis and header layout. */
html body:not(.mobile-mode) #desk > .win[style*="--board-color"]:not(.nm-cal-win) > .wi > .wh > .wtitle,
html body #app #mba .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board) > .mob-unified-hdr > .mob-board-name {
 line-height:1.4 !important;
 padding-block:1px !important;
 padding-inline-end:2px !important;
 border-radius:0 !important;
 box-sizing:border-box !important;
 text-shadow:none !important;
}

/* V153 — scoped account, support and settings design system. */
#nm-acctdel-root, #nm-contact-page-w387, #tb-settings-menu {
  --nm153-ink:#344054; --nm153-muted:#525E71; --nm153-border:#D6DCE5; --nm153-accent:#F97316;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  color:var(--nm153-ink);
}
#nm-acctdel-root {background:#fff!important;border:1px solid #E4E7EC!important;border-radius:20px!important;box-shadow:0 12px 36px #10182816!important;padding:28px!important;max-width:calc(100vw - 24px)!important;box-sizing:border-box;}
#nm-acctdel-root .nm-modal-head {gap:16px!important;align-items:flex-start!important;}
#nm-acctdel-root .nm-modal-icon {width:48px!important;height:48px!important;border-radius:14px!important;background:#FFF1F0!important;color:#D92D20!important;flex-shrink:0;}
#nm-acctdel-root h3 {font-size:22px!important;font-weight:700!important;color:var(--nm153-ink)!important;line-height:1.35!important;}
#nm-acctdel-root .sub {font-size:14px!important;line-height:1.6!important;color:var(--nm153-muted)!important;font-weight:400!important;}
#nm-acctdel-root .nm-pin-label {font-size:14px!important;font-weight:600!important;color:var(--nm153-ink)!important;}
#nm-acctdel-root .nm-pin-text-input {height:48px!important;border:1px solid var(--nm153-border)!important;border-radius:12px!important;background:#fff!important;font:inherit!important;font-size:15px!important;color:var(--nm153-ink)!important;box-sizing:border-box;}
#nm-acctdel-root .nm-pin-text-input:focus {border-color:var(--nm153-accent)!important;box-shadow:0 0 0 3px #F973161A!important;}
#nm-acctdel-root .nm-bak-actions {gap:10px!important;margin-top:20px!important;}
#nm-acctdel-root .nm-bak-actions button {min-height:44px!important;border-radius:12px!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important;}
#nm-acctdel-root .nm-btn-ghost {background:#F2F4F7!important;color:var(--nm153-ink)!important;border:1px solid #E4E7EC!important;}
#nm-acctdel-root #nm-acctdel-submit-btn {background:#D92D20!important;color:#fff!important;}
#nm-contact-page-w387 {background:#fff!important;}
#nm-contact-page-w387 .nm-contact-shell {max-width:860px;}
#nm-contact-page-w387 .nm-contact-title {font-size:26px;font-weight:700;letter-spacing:-.025em;color:var(--nm153-ink);}
#nm-contact-page-w387 .nm-contact-kicker {font-size:11px;font-weight:650;letter-spacing:.08em;}
#nm-contact-page-w387 .nm-contact-sub {font-size:14px;line-height:1.55;color:var(--nm153-muted);}
#nm-contact-page-w387 .nm-contact-card {border-radius:20px;box-shadow:none;border:1px solid #E4E7EC;padding:24px;}
#nm-contact-page-w387 .nm-contact-field {gap:8px;margin-bottom:18px;}
#nm-contact-page-w387 .nm-contact-field label {font-size:14px;font-weight:600;color:var(--nm153-ink);}
#nm-contact-page-w387 .nm-contact-field :is(input,select,textarea) {font-family:inherit!important;font-size:15px!important;font-weight:400!important;color:var(--nm153-ink);background:#fff;border:1px solid var(--nm153-border);border-radius:12px;min-height:48px;}
#nm-contact-page-w387 .nm-contact-field :is(input,textarea)::placeholder {color:#8490A0;opacity:1;}
#nm-contact-page-w387 .nm-contact-field :is(input,select,textarea):focus {border-color:var(--nm153-accent);box-shadow:0 0 0 3px #F973161A;}
#nm-contact-page-w387 .nm-contact-field textarea {min-height:150px;line-height:1.6;}
#nm-contact-page-w387 .nm-contact-attach {background:#FAFAFB;border:1px dashed #C9D1DC;border-radius:12px;padding:16px;}
#nm-contact-page-w387 .nm-contact-attach:hover {background:#FFF7ED;transform:none;}
#nm-contact-page-w387 .nm-contact-attach b {font-size:14px;font-weight:600;color:var(--nm153-ink);}
#nm-contact-page-w387 .nm-contact-attach span {font-size:12px;line-height:1.5;color:var(--nm153-muted);}
#nm-contact-page-w387 :is(.nm-contact-back,.nm-contact-my-btn) {box-shadow:none;border-radius:12px;}
#nm-contact-page-w387 .nm-contact-btn {min-height:44px;border-radius:12px;font-size:14px;font-weight:600;box-shadow:none;}
#nm-contact-page-w387 .nm-contact-btn.primary {background:#F97316;color:#fff;}
#nm-contact-page-w387 .nm-contact-btn.secondary {background:#F2F4F7;color:var(--nm153-ink);}
#tb-settings-menu {background:#fff!important;border:1px solid #E4E7EC!important;border-radius:18px!important;box-shadow:0 12px 32px #10182814!important;padding:12px!important;box-sizing:border-box;}
#tb-settings-menu .nm-account-mini-v303w310 {background:#fff!important;border-radius:12px!important;padding:10px 8px!important;gap:10px!important;box-shadow:none!important;}
#tb-settings-menu .nm-account-mini-name-v303w310 {font-size:16px!important;font-weight:650!important;color:var(--nm153-ink)!important;}
#tb-settings-menu .nm-account-mini-email-v303w310 {font-size:12px!important;font-weight:400!important;color:var(--nm153-muted)!important;}
#tb-settings-menu .nm-account-mini-avatar-v303w311 {background:#F2F4F7!important;color:var(--nm153-muted)!important;box-shadow:none!important;}
#tb-settings-menu .nm-storage-card-v278 {background:#F8FAFC!important;border:1px solid #E4E7EC!important;border-radius:14px!important;box-shadow:none!important;padding:14px!important;margin:10px 0!important;}
#tb-settings-menu .nm-storage-title-v278 {font-size:14px!important;font-weight:650!important;color:var(--nm153-ink)!important;}
#tb-settings-menu .nm-storage-meta-v278 {font-size:12px!important;font-weight:500!important;color:var(--nm153-muted)!important;}
#tb-settings-menu .nm-storage-plan-v278 {font-size:12px!important;color:var(--nm153-muted)!important;font-weight:500!important;}
#tb-settings-menu .nm-storage-bar-v278 {height:8px!important;border-radius:8px!important;}
#tb-settings-menu > button,#tb-settings-menu .nm-account-backup-menu-group-w3594 > button:not(.nm-account-backup-child-w3594) {min-height:42px!important;font-size:14px!important;font-weight:500!important;border-radius:10px!important;gap:10px!important;}
#tb-settings-menu > button > i,#tb-settings-menu .nm-account-backup-menu-group-w3594 > button > i {font-size:18px!important;}
#tb-settings-menu .nm-account-backup-child-w3594 {font-size:12px!important;font-weight:500!important;}
#tb-settings-menu > button:hover {background:#F2F4F7!important;}
@media(max-width:600px){
 #nm-acctdel-root {padding:20px!important;}
 #nm-acctdel-root h3 {font-size:20px!important;}
 #nm-contact-page-w387 .nm-contact-card {padding:16px;border-radius:16px;}
 #nm-contact-page-w387 .nm-contact-title {font-size:22px;}
 #nm-contact-page-w387 .nm-contact-sub {font-size:13px;}
 #nm-contact-page-w387 .nm-contact-actions {background:#fff;}
 #nm-contact-page-w387 .nm-contact-field textarea {min-height:120px;}
 #tb-settings-menu {padding:10px!important;}
}

/* V154: main menu glyph only; preserve hit area and keyboard focus. */
html body #app #tb button.tb-settings-btn {
 border:0 !important; background:transparent !important; box-shadow:none !important; border-radius:0 !important;
}
html body #app #tb button.tb-settings-btn:focus-visible {outline:2px solid #F97316 !important;outline-offset:2px;}

/* V155: scoped enterprise surfaces; no functional or data changes. */
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del,#tb-settings-menu,#nm-plan-page-w354,#nm-contact-page-w387){--nm155-accent:#F97011;--nm155-ink:#344054;--nm155-muted:#525E71;--nm155-line:#DDE2E9;--nm155-neutral:#F5F6F8;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-bak-modal{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;background:#fff!important;color:var(--nm155-ink)!important;border:1px solid var(--nm155-line)!important;border-radius:20px!important;padding:24px!important;box-sizing:border-box;box-shadow:0 12px 36px #10182820!important;max-height:calc(100dvh - 32px);overflow:auto;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-modal-head{gap:14px!important;margin-bottom:20px!important;align-items:flex-start!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs) .nm-modal-icon{background:var(--nm155-neutral)!important;color:var(--nm155-accent)!important;width:44px!important;height:44px!important;border-radius:12px!important;font-size:23px!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-bak-modal h3{font-size:21px!important;font-weight:700!important;color:var(--nm155-ink)!important;line-height:1.35!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-bak-modal .sub{font-size:14px!important;font-weight:400!important;color:var(--nm155-muted)!important;line-height:1.55!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-rs) :is(.nm-bak-summary,.nm-bak-option,.nm-bak-note-standalone,.nm-restore-drop){background:var(--nm155-neutral)!important;border:1px solid var(--nm155-line)!important;border-radius:12px!important;box-shadow:none!important;margin-bottom:12px!important;padding:14px!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-rs) .nm-bak-row{grid-template-columns:24px minmax(70px,1fr) minmax(0,1.5fr);min-height:32px;gap:8px;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-rs) :is(.nm-bak-row i,.nm-bak-note i,.nm-restore-drop i,.nm-bak-progress){color:var(--nm155-accent)!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-rs) :is(.nm-bak-row .k,.nm-bak-option-text small,.nm-bak-note,.nm-restore-drop span){color:var(--nm155-muted)!important;font-size:13px!important;font-weight:400!important;line-height:1.55!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-rs) :is(.nm-bak-row .v,.nm-bak-option-text b,.nm-restore-drop strong){color:var(--nm155-ink)!important;font-size:14px!important;font-weight:600!important;}
#mn-account-bk .nm-account-tabbar{background:var(--nm155-neutral)!important;border-radius:12px!important;gap:4px!important;}
#mn-account-bk .nm-account-tab-btn{font-size:14px!important;font-weight:600!important;min-height:42px!important;border-radius:9px!important;}
#mn-account-bk .nm-account-tab-btn.is-active{background:#fff!important;color:var(--nm155-accent)!important;box-shadow:0 1px 4px #10182815!important;}
#mn-account-bk .nm-bak-check-ui{border-color:#B9C2CF!important;border-radius:6px!important;}
#mn-account-bk .nm-bak-option input:checked + .nm-bak-check-ui{background:var(--nm155-accent)!important;border-color:var(--nm155-accent)!important;color:white!important;}
:is(#mn-account-bk,#mn-rs) .nm-restore-drop{border-style:dashed!important;padding:24px 12px!important;}
#mn-rs #rst{font-family:inherit!important;font-size:14px!important;line-height:1.5!important;background:#fff!important;border:1px solid var(--nm155-line)!important;border-radius:12px!important;padding:12px!important;box-sizing:border-box;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-bak-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;margin-top:16px!important;flex-wrap:wrap;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-bak-actions button{height:auto!important;min-height:44px!important;border-radius:10px!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important;padding:10px 14px!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-btn-ghost{background:var(--nm155-neutral)!important;color:var(--nm155-ink)!important;border:1px solid var(--nm155-line)!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-rs) .nm-btn-primary{background:var(--nm155-accent)!important;border-color:var(--nm155-accent)!important;color:#fff!important;}
#mn-account-bk .nm-account-download-btn[hidden]{display:none!important;}
#mn-board-trash .nm-board-trash-item{background:var(--nm155-neutral)!important;border-radius:12px!important;}
#mn-board-trash .nm-board-trash-item-info strong{font-size:14px!important;color:var(--nm155-ink)!important;}
#mn-board-trash .nm-board-trash-item-info span{font-size:12px!important;color:var(--nm155-muted)!important;}
#mn-account-del #nm-acctdel-submit-btn{background:#D92D20!important;border-color:#D92D20!important;}
#mn-account-del .nm-pin-text-input:focus{border-color:var(--nm155-accent)!important;box-shadow:0 0 0 2px #F9701120!important;}
#tb-settings-menu :is(.nm-account-mini-plan-v303w310,.nm-storage-plan-manage-v354){background:var(--nm155-neutral)!important;border:1px solid var(--nm155-line)!important;color:var(--nm155-accent)!important;box-shadow:none!important;}
#nm-plan-page-w354{background:#F8F9FB!important;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;}
#nm-plan-page-w354 .nm-plan-titlebox-w354 h1{font-size:28px!important;font-weight:700!important;color:var(--nm155-ink)!important;}
#nm-plan-page-w354 .nm-plan-titlebox-w354 p{font-size:14px!important;font-weight:400!important;line-height:1.6!important;color:var(--nm155-muted)!important;}
#nm-plan-page-w354 .nm-plan-card-w354{background:#fff!important;border:1px solid var(--nm155-line)!important;border-radius:16px!important;box-shadow:none!important;}
#nm-plan-page-w354 :is(.nm-plan-back-w354,.nm-plan-active-badge-w354,.nm-plan-price-grid-w354 small){background:var(--nm155-neutral)!important;color:var(--nm155-accent)!important;border-color:var(--nm155-line)!important;box-shadow:none!important;}
#nm-plan-page-w354 :is(.nm-plan-back-w354 i,.nm-plan-premium-name-w354){color:var(--nm155-accent)!important;}
#nm-plan-page-w354 :is(.nm-plan-recommend-badge-w354,.nm-plan-premium-start-w354:not(.nm-plan-current-disabled-w357)){background:var(--nm155-accent)!important;color:white!important;box-shadow:none!important;}
#nm-plan-page-w354 .nm-plan-feature-list-w354:not(.nm-plan-feature-list-pro-w354) i{background:var(--nm155-neutral)!important;color:var(--nm155-accent)!important;}
#nm-contact-page-w387 :is(.nm-contact-back,.nm-contact-my-btn,.nm-contact-attach){background:var(--nm155-neutral)!important;border-color:var(--nm155-line)!important;color:var(--nm155-accent)!important;}
#nm-contact-page-w387 .nm-contact-btn.primary{background:var(--nm155-accent)!important;color:white!important;}
#nm-contact-page-w387 .nm-contact-field :is(input,select,textarea):focus{border-color:var(--nm155-accent)!important;box-shadow:0 0 0 2px #F9701120!important;}
@media(max-width:520px){:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-bak-modal{padding:18px!important;} :is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-bak-modal h3{font-size:19px!important;} #nm-plan-page-w354 .nm-plan-titlebox-w354 h1{font-size:24px!important;}}

/* V157: scoped header alignment and readable compact spacing. */
:root {--nm157-brand:#F97011;}
:is(#nm-plan-page-w354,#nm-payment-ready-page-w354,#nm-payment-guide-page-w361) :is(.nm-plan-top-w354,.nm-payment-ready-top-w354){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:0 0 20px!important;}
:is(#nm-plan-page-w354,#nm-payment-ready-page-w354,#nm-payment-guide-page-w361) .nm-plan-back-w354,
:is(.nm-contact-top,.nm-myinq-top,.nm-inqdetail-top) :is(.nm-contact-back,.nm-myinq-back,.nm-inqdetail-back){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;align-self:flex-start!important;justify-self:start!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;color:var(--nm157-brand)!important;}
:is(.nm-plan-back-w354,.nm-contact-back,.nm-myinq-back,.nm-inqdetail-back) i{color:var(--nm157-brand)!important;font-size:22px!important;}
:is(.nm-plan-back-w354,.nm-contact-back,.nm-myinq-back,.nm-inqdetail-back):focus-visible{outline:2px solid var(--nm157-brand)!important;outline-offset:2px;}
:is(#nm-plan-page-w354,#nm-payment-ready-page-w354,#nm-payment-guide-page-w361) .nm-plan-titlebox-w354{padding:0!important;min-width:0;}
:is(#nm-plan-page-w354,#nm-payment-ready-page-w354,#nm-payment-guide-page-w361) .nm-plan-titlebox-w354 h1{min-height:0!important;display:block!important;margin:0!important;line-height:1.25!important;}
:is(#nm-plan-page-w354,#nm-payment-ready-page-w354,#nm-payment-guide-page-w361) .nm-plan-titlebox-w354 p{margin:6px 0 0!important;line-height:1.5!important;word-break:keep-all;overflow-wrap:anywhere;}
#nm-plan-page-w354 .nm-plan-titlebox-w354 p span{font-weight:400!important;}
#nm-plan-page-w354 .nm-plan-section-w354{gap:16px!important;}
#nm-plan-page-w354 .nm-plan-current-usage-row-w354{margin-top:16px!important;}
#nm-plan-page-w354 .nm-plan-current-meta-w354{margin-top:12px!important;}
#nm-plan-page-w354 .nm-plan-feature-list-w354{gap:8px!important;margin-top:16px!important;padding-top:14px!important;}
#nm-plan-page-w354 .nm-plan-feature-list-w354 li{line-height:1.5!important;word-break:keep-all;overflow-wrap:anywhere;}
#nm-plan-page-w354 .nm-plan-pro-desc-w354{min-height:0!important;line-height:1.5!important;word-break:keep-all;overflow-wrap:anywhere;}
#nm-contact-page-w387 .nm-contact-top{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 12px!important;align-items:start!important;margin-bottom:18px!important;}
#nm-contact-page-w387 .nm-contact-back{grid-column:1/-1;grid-row:1;}
#nm-contact-page-w387 .nm-contact-heading{grid-column:1;grid-row:2;min-width:0;}
#nm-contact-page-w387 .nm-contact-my-btn{grid-column:2;grid-row:2;align-self:center;}
#nm-contact-page-w387 .nm-contact-sub{margin:6px 0 0!important;line-height:1.5!important;word-break:keep-all;overflow-wrap:anywhere;}
#nm-contact-page-w387 .nm-contact-field{margin-bottom:14px!important;gap:6px!important;}
#nm-contact-page-w387 .nm-contact-actions{margin-top:16px!important;}
:is(.nm-myinq-top,.nm-inqdetail-top){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;}
:is(.nm-myinq-title,.nm-inqdetail-title){margin:0!important;line-height:1.25!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-bak-modal :is(.sub,.nm-bak-note,.nm-bak-option-text small){word-break:keep-all;overflow-wrap:anywhere;line-height:1.5!important;}

/* V158: mobile management surfaces, independent of memo typography. */
@media (max-width: 767px) {
:is(#nm-contact-page-w387,#nm-my-inquiries-page-w388,#nm-inquiry-detail-page-w3892,#nm-plan-page-w354,#nm-payment-ready-page-w354,#nm-payment-guide-page-w361) {font-family:system-ui,-apple-system,'Noto Sans KR',sans-serif!important; -webkit-text-size-adjust:100%;text-size-adjust:100%;color:#344054!important;}
:is(#nm-contact-page-w387,#nm-my-inquiries-page-w388,#nm-inquiry-detail-page-w3892) :is(.nm-contact-shell,.nm-myinq-shell,.nm-inqdetail-shell){padding:calc(env(safe-area-inset-top,0px) + 12px) 16px calc(env(safe-area-inset-bottom,0px) + 24px)!important;box-sizing:border-box;}
html body #nm-contact-page-w387 .nm-contact-top{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:4px 8px!important;margin-bottom:16px!important;}
html body #nm-contact-page-w387 .nm-contact-back{grid-column:1!important;grid-row:1!important;border:0!important;background:transparent!important;box-shadow:none!important;}
html body #nm-contact-page-w387 .nm-contact-my-btn{grid-column:2!important;grid-row:1!important;width:44px!important;height:44px!important;background:transparent!important;border:0!important;box-shadow:none!important;}
html body #nm-contact-page-w387 .nm-contact-heading{grid-column:1/-1!important;grid-row:2!important;}
:is(#nm-contact-page-w387,#nm-my-inquiries-page-w388,#nm-inquiry-detail-page-w3892) :is(.nm-contact-title,.nm-myinq-title,.nm-inqdetail-title){font-size:23px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:-.025em!important;color:#344054!important;margin:0!important;}
:is(#nm-contact-page-w387,#nm-my-inquiries-page-w388,#nm-inquiry-detail-page-w3892) :is(.nm-contact-kicker,.nm-myinq-kicker,.nm-inqdetail-kicker){font-size:11px!important;font-weight:650!important;color:#F97011!important;margin:0 0 4px!important;}
:is(#nm-contact-page-w387,#nm-my-inquiries-page-w388,#nm-inquiry-detail-page-w3892) :is(.nm-contact-sub,.nm-myinq-sub,.nm-inqdetail-sub){font-size:13px!important;line-height:1.45!important;word-break:keep-all!important;overflow-wrap:anywhere!important;margin:6px 0 0!important;color:#525E71!important;}
html body #nm-contact-page-w387 .nm-contact-card{padding:14px!important;border-radius:16px!important;box-shadow:none!important;}
html body #nm-contact-page-w387 .nm-contact-grid{grid-template-columns:1fr!important;gap:0!important;}
html body #nm-contact-page-w387 .nm-contact-field{gap:5px!important;margin-bottom:12px!important;}
html body #nm-contact-page-w387 .nm-contact-field label{font-size:13px!important;font-weight:600!important;line-height:1.4!important;}
html body #nm-contact-page-w387 .nm-contact-field :is(input,select,textarea){font-family:inherit!important;font-size:14px!important;line-height:1.45!important;padding:10px 12px!important;min-height:44px!important;border-radius:10px!important;}
html body #nm-contact-page-w387 .nm-contact-field textarea{min-height:112px!important;}
html body #nm-contact-page-w387 .nm-contact-attach{padding:14px 10px!important;background:#F5F6F8!important;border:1px dashed #DDE2E9!important;border-radius:12px!important;}
html body #nm-contact-page-w387 .nm-contact-attach b{font-size:13px!important;line-height:1.4!important;}
html body #nm-contact-page-w387 .nm-contact-attach span{font-size:12px!important;line-height:1.45!important;word-break:keep-all!important;overflow-wrap:anywhere!important;}
html body #nm-contact-page-w387 .nm-contact-actions{position:static!important;margin-top:14px!important;padding:0!important;gap:8px!important;background:transparent!important;}
html body #nm-contact-page-w387 .nm-contact-btn{min-height:44px!important;font-size:14px!important;padding:10px!important;border-radius:10px!important;}
:is(#nm-my-inquiries-page-w388,#nm-inquiry-detail-page-w3892) :is(.nm-myinq-card,.nm-inqdetail-card){padding:14px!important;border-radius:14px!important;box-shadow:none!important;}
:is(#nm-my-inquiries-page-w388,#nm-inquiry-detail-page-w3892) :is(.nm-myinq-reply,.nm-inqdetail-msg.admin,.nm-inqdetail-block.answer){background:#F5F6F8!important;border-color:#DDE2E9!important;box-shadow:none!important;}
:is(#nm-my-inquiries-page-w388,#nm-inquiry-detail-page-w3892) :is(.nm-myinq-reply p,.nm-inqdetail-msg p,.nm-inqdetail-block p){font-size:13px!important;line-height:1.5!important;color:#344054!important;overflow-wrap:anywhere!important;word-break:keep-all!important;}
:is(#nm-plan-page-w354,#nm-payment-ready-page-w354,#nm-payment-guide-page-w361) .nm-plan-titlebox-w354 h1{font-size:24px!important;line-height:1.25!important;}
:is(#nm-plan-page-w354,#nm-payment-ready-page-w354,#nm-payment-guide-page-w361) .nm-plan-titlebox-w354 p{font-size:13px!important;line-height:1.45!important;}
#nm-plan-page-w354 .nm-plan-card-w354{padding:16px!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-bak-modal{padding:16px!important;border-radius:16px!important;max-height:calc(100dvh - 24px)!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-modal-head{gap:10px!important;margin-bottom:14px!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-board-trash,#mn-rs,#mn-account-del) .nm-bak-modal .sub{font-size:13px!important;line-height:1.45!important;}
:is(#mn-account-bk,#mn-attachment-export-w3593,#mn-rs) :is(.nm-bak-summary,.nm-bak-option,.nm-bak-note-standalone,.nm-restore-drop){padding:12px!important;margin-bottom:10px!important;}
#nm-acctdel-root{padding:16px!important;}
#tb-settings-menu{font-family:system-ui,-apple-system,'Noto Sans KR',sans-serif!important;}
}

/* V159: drawer typography follows memo preferences; visibility is independent of weight. */
html body #webBoardDropdownV303W1 .web-board-dropdown-item-v303w1 .web-board-dropdown-name-v303w1,
html body #mobBoardDropdownV274 .mob-board-dropdown-item-v274 .mob-board-dropdown-name-v274 {
 font-family:var(--memo-family,inherit)!important; font-size:var(--memo-size,14px)!important;
 font-weight:var(--memo-weight,400)!important; font-style:var(--memo-style,normal)!important;
 line-height:1.45!important; color:#667085!important; opacity:1!important;
}
html body #webBoardDropdownV303W1 .web-board-dropdown-item-v303w1.visible,
html body #mobBoardDropdownV274 .mob-board-dropdown-item-v274.active {
 background:#F5F6F8!important; box-shadow:inset 3px 0 0 #F97011!important; opacity:1!important;
}
html body #webBoardDropdownV303W1 .web-board-dropdown-item-v303w1.visible .web-board-dropdown-name-v303w1,
html body #mobBoardDropdownV274 .mob-board-dropdown-item-v274.active .mob-board-dropdown-name-v274 {
 color:#344054!important; opacity:1!important;
}
html body #webBoardDropdownV303W1 .web-board-dropdown-item-v303w1.hidden {opacity:1!important; background:transparent!important;}
html body #webBoardDropdownV303W1 .web-board-dropdown-item-v303w1.visible .web-board-dropdown-state-v303w1 {background:#F97011!important;color:#fff!important;opacity:1!important;}
html body #webBoardDropdownV303W1 .web-board-dropdown-item-v303w1.hidden .web-board-dropdown-state-v303w1 {background:#F1F3F5!important;color:#667085!important;opacity:1!important;}
html body #mobBoardDropdownV274 .mob-board-dropdown-item-v274.active > i.ti-check {color:#F97011!important;opacity:1!important;}

/* V160: memo board header height +0.2 CSS px; calendar excluded. */
html body:not(.mobile-mode) #desk > .win[style*="--board-color"]:not(.nm-cal-win) > .wi > .wh {height:34.2px!important;min-height:34.2px!important;}
html body #app #mba .mobbrd[style*="--board-color"]:not(.nm-cal-mob-board) > .mob-unified-hdr {height:36.2px!important;min-height:36.2px!important;}

/* V213: dark-theme-only memo header controls. Override V113/V123 board-color glyph rules.
   Basic theme is intentionally untouched. */
html body[data-color-theme="dark"]:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh button.wb2.nm-board-minimize-v207,
html body[data-color-theme="dark"]:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh button.wb2[id^="sbt_"],
html body[data-color-theme="dark"]:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh button.wb2:has(> i.ti-menu-2),
html body[data-color-theme="dark"]:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh button.wb2.nm-board-minimize-v207 > i,
html body[data-color-theme="dark"]:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh button.wb2[id^="sbt_"] > i,
html body[data-color-theme="dark"]:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh button.wb2 > i.ti-menu-2,
html body[data-color-theme="dark"]:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh button.wb2.nm-board-minimize-v207 > i::before,
html body[data-color-theme="dark"]:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh button.wb2[id^="sbt_"] > i::before,
html body[data-color-theme="dark"]:not(.mobile-mode) #desk > .win[style*="--board-color"] .wh button.wb2 > i.ti-menu-2::before {
  color:#fff !important; -webkit-text-fill-color:#fff !important; opacity:1 !important;
}
