/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[3].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[15].oneOf[3].use[2]!./node_modules/next/font/local/target.css?{"path":"app\\layout.tsx","import":"","arguments":[{"src":"../public/PatrickHand-Regular.ttf","variable":"--font-patrick-hand","display":"swap"}],"variableName":"patrickHand"} ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@font-face {
font-family: 'patrickHand';
src: url(/_next/static/media/544da58356000de7-s.p.ttf) format('truetype');
font-display: swap;
}@font-face {font-family: 'patrickHand Fallback';src: local("Arial");ascent-override: 127.81%;descent-override: 38.27%;line-gap-override: 0.00%;size-adjust: 81.53%
}.__className_9dc04f {font-family: 'patrickHand', 'patrickHand Fallback'
}.__variable_9dc04f {--font-patrick-hand: 'patrickHand', 'patrickHand Fallback'
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[15].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app\\layout.tsx","import":"JetBrains_Mono","arguments":[{"variable":"--font-jetbrains-mono","subsets":["latin"]}],"variableName":"jetBrainsMono"} ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/886030b0b59bc5a7-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/0aa834ed78bf6d07-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/67957d42bae0796d-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/f911b923c6adde36-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/939c4f875ee75fbb-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/bb3ef058b751a6ad-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'JetBrains Mono Fallback';src: local("Arial");ascent-override: 75.79%;descent-override: 22.29%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_3c557b {font-family: 'JetBrains Mono', 'JetBrains Mono Fallback';font-style: normal
}.__variable_3c557b {--font-jetbrains-mono: 'JetBrains Mono', 'JetBrains Mono Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-mono: var(--font-jetbrains-mono);
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-patrick-hand);
    --default-mono-font-family: var(--font-jetbrains-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .relative {
    position: relative;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}
:root {
  --background: #f3efe6;
  --foreground: #111111;
  --font-sans: var(--font-patrick-hand);
  --font-mono: var(--font-jetbrains-mono);
  --ink: #0f172a;
  --ink-soft: #334155;
  --accent: #1d4ed8;
  --accent-strong: #1e40af;
  --surface: #f8fafc;
  --surface-strong: #e2e8f0;
  --bg-grid-rgb: 148 163 184;
  --bg-grid-opacity: 0.35;
  --bg-grid-size: 32px;
  --bg-grid-thickness: 1px;
  --bg-noise-opacity: 0.08;
}
html,
body {
  height: 100%;
}
body {
  background-color: var(--background);
  background-image: linear-gradient(
      to right,
      rgb(var(--bg-grid-rgb) / var(--bg-grid-opacity)) var(--bg-grid-thickness),
      transparent var(--bg-grid-thickness)
    ),
    linear-gradient(
      to bottom,
      rgb(var(--bg-grid-rgb) / var(--bg-grid-opacity)) var(--bg-grid-thickness),
      transparent var(--bg-grid-thickness)
    ),
    radial-gradient(
      circle at 20% 20%,
      rgb(15 23 42 / var(--bg-noise-opacity)) 0.4px,
      transparent 0.5px
    ),
    radial-gradient(
      circle at 80% 60%,
      rgb(15 23 42 / calc(var(--bg-noise-opacity) * 0.85)) 0.4px,
      transparent 0.5px
    );
  background-size: var(--bg-grid-size) var(--bg-grid-size),
    var(--bg-grid-size) var(--bg-grid-size),
    3px 3px,
    4px 4px;
  background-position: 0 0, 0 0, 0 0, 1px 1px;
  background-attachment: fixed;
  color: var(--foreground);
  font-family: var(--font-patrick-hand), cursive;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
}
.notes-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: #334155;
}
.notes-page {
  height: 100vh;
  width: 100%;
  background: transparent;
}
.notes-auth-bar {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.notes-auth-email {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 11px;
}
.notes-auth-signout {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}
.notes-layout {
  height: 100%;
  display: grid;
  grid-template-columns: 320px 1fr;
}
.notes-sidebar-shell {
  position: relative;
  border-right: 1px solid transparent;
  background-color: #f8f4e8;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--bg-grid-size) - var(--bg-grid-thickness)),
    rgb(var(--bg-grid-rgb) / var(--bg-grid-opacity))
      calc(var(--bg-grid-size) - var(--bg-grid-thickness)),
    rgb(var(--bg-grid-rgb) / var(--bg-grid-opacity)) var(--bg-grid-size)
  );
  background-size: 100% var(--bg-grid-size);
  background-position: 0 0;
  min-height: 0;
  overflow: hidden;
}
.notes-sidebar-shell::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  width: 10px;
  height: calc(100% - 36px);
  background-image: radial-gradient(circle, rgba(15, 23, 42, 0.26) 0 2px, transparent 2.4px);
  background-size: 10px 34px;
  opacity: 0.45;
  pointer-events: none;
}
.notes-sidebar-shell::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: rgba(191, 63, 63, 0.85);
  pointer-events: none;
}
.notes-sidebar {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.notes-sidebar-header {
  padding: 16px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notes-sidebar-title {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
.notes-action {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 7px 11px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  cursor: pointer;
}
.notes-action-primary {
  border-color: #1d4ed8;
  background: #1d4ed8;
  color: #ffffff;
}
.notes-search-wrap {
  padding: 0 14px 12px;
}
.notes-search {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 11px;
  background: #ffffff;
  color: #0f172a;
}
.notes-search:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.notes-list {
  flex: 1;
  overflow: auto;
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.notes-item {
  position: relative;
  border: 1px solid #b68f55;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8e4b4 0%, #efd79f 100%);
  padding: 12px 11px 10px;
  height: 154px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 2px 0 rgba(127, 88, 32, 0.14), 0 6px 10px rgba(88, 58, 17, 0.08);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  overflow: visible;
}
.notes-item::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 14px;
  width: 92px;
  height: 16px;
  border: 1px solid #b68f55;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #fbe9c0 0%, #f2dca8 100%);
  box-shadow: inset 0 -1px 0 rgba(164, 122, 57, 0.22);
  pointer-events: none;
}
.notes-item::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 14px;
  border-top: 1px solid rgba(145, 108, 53, 0.28);
  pointer-events: none;
}
.notes-item:hover {
  border-color: #9f783d;
  box-shadow: 0 2px 0 rgba(127, 88, 32, 0.18), 0 10px 16px rgba(88, 58, 17, 0.12);
  transform: translateY(-1px);
}
.notes-item.is-active {
  border-color: #885b20;
  box-shadow: 0 0 0 2px rgba(166, 124, 54, 0.28), 0 10px 18px rgba(72, 46, 11, 0.2);
}
.notes-item-main {
  position: relative;
  padding: 2px 1px 0;
}
.notes-item-main::before {
  content: "";
  position: absolute;
  left: 2.5%;
  top: -7px;
  width: 95%;
  height: 9px;
  border: 1px solid #d3dae4;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  background: #ffffff;
  pointer-events: none;
  box-shadow: 0 1px 0 rgba(13, 24, 42, 0.08);
}
.notes-item-main::after {
  content: "";
  position: absolute;
  left: 2.5%;
  top: -4px;
  width: 95%;
  height: 7px;
  border: 1px solid #dce2ea;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  background: #fcfdff;
  pointer-events: none;
}
.notes-item-title {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.25;
  color: #402a10;
  font-weight: 700;
}
.notes-item-preview {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #5a431f;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notes-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px dashed rgba(134, 96, 42, 0.34);
  padding-top: 7px;
}
.notes-item-date {
  font-size: 0.74rem;
  color: #6a4a1d;
}
.notes-item-actions {
  display: inline-flex;
  gap: 5px;
}
.notes-mini-action {
  border: 1px solid #af8750;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 0.72rem;
  background: #f9ebca;
  color: #4f3613;
  cursor: pointer;
}
.notes-mini-action:hover {
  background: #f3dcad;
}
.notes-mini-danger {
  color: #8a1f1f;
  border-color: #d7a0a0;
  background: #f7dddd;
}
.notes-empty {
  margin: 6px;
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  font-size: 0.85rem;
}
.notes-editor-pane {
  min-width: 0;
  min-height: 0;
  position: relative;
}
.notes-hero-progress {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.notes-hero-progress-track {
  position: relative;
  width: 35px;
  height: 80vh;
  border: 2px solid #1e3a8a;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.56);
  overflow: hidden;
}
.notes-hero-progress-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.82) 0 3px,
    rgba(30, 64, 175, 0.45) 3px 7px
  );
  border-top: 2px solid #1e3a8a;
  transition: height 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.notes-hero-progress-label {
  min-width: 42px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #1e3a8a;
  border-radius: 999px;
  padding: 3px 8px;
}
.notes-mobile-toggle {
  display: none;
}
.page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  position: relative;
}
.canvas-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border-top: 1px solid #d9d9d9;
  box-shadow: none;
}
.canvas-wrap::after {
  content: none;
}
.canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
.connection {
  stroke: var(--ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  fill: none;
}
.connection-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: connection-draw-in 300ms ease-out forwards;
}
.connection-fade-out {
  opacity: 0;
}
@keyframes connection-draw-in {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.leaf-group-container {
  fill: transparent;
  stroke: var(--ink);
  stroke-width: 2;
  pointer-events: none;
  opacity: 0;
  animation: leaf-group-fade-in 260ms ease forwards;
}
.leaf-group-container.is-fading-out {
  animation: leaf-group-fade-out 180ms ease forwards;
}
@keyframes leaf-group-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes leaf-group-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.bubble-wrap {
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-box: fill-box;
  transform-origin: 0 0;
}
.bubble {
  cursor: pointer;
  transition: transform 0.16s ease;
  transform-box: fill-box;
  transform-origin: center;
  outline: none;
}
.bubble:hover {
  transform: scale(1.02);
}
.bubble:focus,
.bubble:focus-visible {
  outline: none;
}
.bubble.is-branched {
  opacity: 1;
}
.bubble-rect {
  stroke: var(--ink);
  stroke-width: 2;
  transition: width 30ms ease, height 30ms ease;
}
.bubble-label-fo {
  overflow: hidden;
  pointer-events: none;
}
.bubble-label {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 16px 12px 8px;
  color: #111111;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-patrick-hand), cursive;
  pointer-events: none;
  text-align: center;
  line-height: 1.2;
}
.bubble-label span {
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.bubble-label-placeholder {
  opacity: 0.55;
}
.bubble-checkbox-fo {
  overflow: visible;
  pointer-events: auto;
}
.bubble-mini-fo {
  overflow: visible;
  pointer-events: auto;
}
.bubble-mini {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.bubble-mini-button {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 1px solid var(--accent-strong);
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.bubble-mini-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--accent-strong);
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.4);
}
.bubble-mini-button:disabled,
.bubble-mini-button.is-disabled {
  opacity: 1;
  background: var(--surface-strong);
  color: #64748b;
  border-color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}
.bubble-checkbox {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--ink);
  box-shadow: none;
}
.bubble-checkbox input {
  width: 70%;
  height: 70%;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  padding: 22px;
}
.confirm-dialog {
  width: min(520px, 100%);
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #111111;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
  padding: 18px 18px 16px;
  backdrop-filter: blur(12px);
}
.confirm-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.confirm-body {
  margin: 0 0 16px;
  color: #333333;
  line-height: 1.5;
}
.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.confirm-button {
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid #111111;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.confirm-button:hover {
  transform: translateY(-1px);
  box-shadow: none;
  background: #f2f2f2;
}
.confirm-danger {
  border-color: #8f1f1f;
  background: #fff1f1;
  color: #8f1f1f;
}
.confirm-danger:hover {
  background: #ffe3e3;
}
@media (max-width: 720px) {
  .page {
    padding: 20px;
  }
}
.prompt-nav {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.panel-toggle-button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--ink-soft);
  background: #ffffff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.bubble-panel {
  border: 1px solid var(--ink-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  padding: 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
.bubble-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.bubble-child-picker {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.bubble-status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--ink-soft);
}
.bubble-status-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--ink);
  min-width: 220px;
}
.bubble-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.bubble-progress-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ink-soft);
}
.bubble-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: none;
  transition: width 240ms ease;
}
.bubble-prompt-mode {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bubble-toggle {
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bubble-toggle.is-on {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent-strong);
}
.bubble-focus {
  padding: 4px;
  background: transparent;
  border: none;
}
.bubble-focus-button {
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.bubble-focus-button:hover {
  transform: translateY(-1px);
  background: #e2e8f0;
}
.bubble-send-status {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  background: #eff6ff;
}
.bubble-send-error {
  background: #fff1f1;
  border-color: #8f1f1f;
  color: #8f1f1f;
}
.bubble.is-sending .bubble-rect {
  stroke: var(--accent);
  stroke-width: 3;
}
.bubble-font-size {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bubble-font-range {
  width: 110px;
}
.bubble-font-value {
  font-size: 0.8rem;
  color: #333333;
}
.bubble-input-fo {
  overflow: visible;
}
.bubble-input-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.bubble-input {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  background: transparent;
  background-color: transparent;
  color: #111111;
  padding: 0;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  resize: none;
  line-height: 1.4;
  word-break: break-word;
  overflow: hidden;
}
.bubble-input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}
.bubble-input::placeholder {
  color: rgba(17, 17, 17, 0.5);
}
.bubble-child-button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bubble-child-button.is-active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent-strong);
}
.bubble-child-button:hover:not(.is-active) {
  background: #e2e8f0;
}
.prompt-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: #e8f7ff;
  text-decoration: none;
  background: rgba(20, 32, 50, 0.7);
  border: 1px solid rgba(123, 199, 255, 0.35);
  box-shadow: 0 12px 28px rgba(4, 8, 14, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prompt-nav-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(4, 8, 14, 0.4);
}
.prompt-page {
  min-height: 100vh;
  padding: 32px 24px 56px;
  overflow: auto;
  display: flex;
  justify-content: center;
  position: relative;
}
.prompt-shell {
  width: min(900px, 100%);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.prompt-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
}
.prompt-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.prompt-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 58ch;
}
.prompt-card {
  background: rgba(9, 14, 23, 0.78);
  border: 1px solid rgba(123, 199, 255, 0.25);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(5, 10, 16, 0.35);
  backdrop-filter: blur(10px);
}
.prompt-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prompt-label {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.prompt-input {
  width: 100%;
  min-height: 170px;
  resize: vertical;
  background: rgba(6, 10, 16, 0.75);
  border: 1px solid rgba(123, 199, 255, 0.35);
  border-radius: 14px;
  color: var(--foreground);
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--font-mono);
}
.prompt-input:focus {
  outline: none;
  border-color: rgba(160, 230, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(120, 200, 255, 0.2);
}
.prompt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.prompt-clarify {
  margin-top: 8px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(123, 199, 255, 0.28);
  background: rgba(8, 13, 22, 0.6);
  display: grid;
  gap: 12px;
}
.prompt-clarify-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(220, 240, 255, 0.9);
}
.prompt-clarify-item {
  display: grid;
  gap: 8px;
}
.prompt-clarify-question {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}
.prompt-clarify-input {
  width: 100%;
  border: 1px solid rgba(123, 199, 255, 0.35);
  border-radius: 10px;
  background: rgba(6, 10, 16, 0.8);
  color: var(--foreground);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.prompt-clarify-input:focus {
  outline: none;
  border-color: rgba(160, 230, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(120, 200, 255, 0.2);
}
.clarify-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(3, 6, 10, 0.72);
  display: grid;
  place-items: center;
  padding: 22px;
}
.clarify-dialog {
  width: min(560px, 100%);
  border-radius: 18px;
  background: rgba(9, 14, 23, 0.9);
  border: 1px solid rgba(123, 199, 255, 0.3);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
  padding: 18px 18px 16px;
  backdrop-filter: blur(12px);
  display: grid;
  gap: 12px;
}
.clarify-title {
  margin: 0;
  font-size: 1.25rem;
}
.clarify-progress {
  font-size: 0.85rem;
  color: rgba(230, 242, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.clarify-question {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}
.clarify-input {
  width: 100%;
  border: 1px solid rgba(123, 199, 255, 0.35);
  border-radius: 12px;
  background: rgba(6, 10, 16, 0.8);
  color: var(--foreground);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.clarify-input:focus {
  outline: none;
  border-color: rgba(160, 230, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(120, 200, 255, 0.2);
}
.clarify-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.clarify-button {
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(123, 199, 255, 0.25);
  background: rgba(14, 26, 40, 0.9);
  color: rgba(232, 247, 255, 0.9);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.clarify-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}
.clarify-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.clarify-primary {
  background: linear-gradient(135deg, #5bd1ff, #7bc7ff);
  color: #05101b;
  border-color: rgba(123, 199, 255, 0.45);
}
.prompt-meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}
.prompt-button {
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #5bd1ff, #7bc7ff);
  color: #05101b;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(14, 40, 70, 0.35);
}
.prompt-button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.prompt-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.prompt-error {
  background: rgba(72, 12, 18, 0.6);
  border: 1px solid rgba(255, 154, 154, 0.45);
  border-radius: 14px;
  padding: 14px 16px;
  color: #ffd5d5;
}
.prompt-items {
  display: grid;
  gap: 16px;
}
.prompt-item {
  background: rgba(9, 14, 23, 0.75);
  border: 1px solid rgba(123, 199, 255, 0.2);
  border-radius: 16px;
  padding: 16px 18px;
}
.prompt-item-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.prompt-item-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.auth-landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-landing-card {
  width: min(420px, 100%);
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 34px rgba(15, 23, 42, 0.16);
  padding: 24px 22px;
  display: grid;
  gap: 12px;
}
.auth-landing-kicker {
  margin: 0;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.auth-landing-title {
  margin: 0;
  color: #0f172a;
  font-size: 1.6rem;
}
.auth-landing-copy {
  margin: 0;
  color: #334155;
  line-height: 1.45;
}
.auth-landing-error {
  margin: 0;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fff1f2;
  color: #9f1239;
  padding: 10px 12px;
  font-size: 0.9rem;
}
.auth-landing-button {
  width: 100%;
  border: 1px solid #1e40af;
  border-radius: 10px;
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  padding: 11px 14px;
}
.auth-landing-button:hover {
  background: #1e40af;
}
@media (max-width: 720px) {
  .prompt-nav {
    top: 16px;
    left: 16px;
  }
  .prompt-page {
    padding: 20px 18px 40px;
  }
}
@media (max-width: 980px) {
  .notes-page {
    position: relative;
  }
  .notes-mobile-toggle {
    display: inline-flex;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 30;
    border: 1px solid #1d4ed8;
    border-radius: 999px;
    background: #ffffff;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 12px;
    cursor: pointer;
  }
  .notes-layout {
    grid-template-columns: 1fr;
  }
  .notes-auth-bar {
    right: 10px;
    left: auto;
  }
  .notes-sidebar-shell {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 340px);
    z-index: 20;
    transform: translateX(-100%);
    transition: transform 200ms ease;
    box-shadow: 14px 0 30px rgba(15, 23, 42, 0.16);
  }
  .notes-layout.is-sidebar-open .notes-sidebar-shell {
    transform: translateX(0);
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
    }
  }
}

