*,
:before,
:after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

*,
:before,
:after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb
}

:before,
:after {
    --tw-content: ""
}

html,
:host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent
}

body {
    margin: 0;
    line-height: inherit
}

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;
    text-decoration: inherit
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    font-feature-settings: normal;
    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: -.25em
}

sup {
    top: -.5em
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0
}

button,
select {
    text-transform: none
}

button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none
}

:-moz-focusring {
    outline: auto
}

:-moz-ui-invalid {
    box-shadow: none
}

progress {
    vertical-align: baseline
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0
}

fieldset {
    margin: 0;
    padding: 0
}

legend {
    padding: 0
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0
}

dialog {
    padding: 0
}

textarea {
    resize: vertical
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    opacity: 1;
    color: #9ca3af
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #9ca3af
}

button,
[role=button] {
    cursor: pointer
}

:disabled {
    cursor: default
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle
}

img,
video {
    max-width: 100%;
    height: auto
}

[hidden]:where(:not([hidden=until-found])) {
    display: none
}

.container {
    width: 100%
}

@media (min-width: 640px) {
    .container {
        max-width: 640px
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0
}

.pointer-events-none {
    pointer-events: none
}

.visible {
    visibility: visible
}

.fixed {
    position: fixed
}

.absolute {
    position: absolute
}

.relative {
    position: relative
}

.left-2\.5 {
    left: .625rem
}

.left-3\.5 {
    left: .875rem
}

.right-2 {
    right: .5rem
}

.top-1\/2 {
    top: 50%
}

.mx-auto {
    margin-left: auto;
    margin-right: auto
}

.mb-4 {
    margin-bottom: 1rem
}

.ml-auto {
    margin-left: auto
}

.mt-2 {
    margin-top: .5rem
}

.mt-3 {
    margin-top: .75rem
}

.mt-6 {
    margin-top: 1.5rem
}

.mt-8 {
    margin-top: 2rem
}

.block {
    display: block
}

.flex {
    display: flex
}

.inline-flex {
    display: inline-flex
}

.hidden {
    display: none
}

.h-10 {
    height: 2.5rem
}

.h-7 {
    height: 1.75rem
}

.h-8 {
    height: 2rem
}

.h-9 {
    height: 2.25rem
}

.min-h-screen {
    min-height: 100vh
}

.w-7 {
    width: 1.75rem
}

.w-9 {
    width: 2.25rem
}

.w-full {
    width: 100%
}

.min-w-0 {
    min-width: 0px
}

.max-w-\[666\[x\]\] {
    max-width: 666[x]
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.resize-none {
    resize: none
}

.items-center {
    align-items: center
}

.justify-end {
    justify-content: flex-end
}

.justify-center {
    justify-content: center
}

.gap-2 {
    gap: .5rem
}

.space-y-1>:not([hidden])~:not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(.25rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(.25rem * var(--tw-space-y-reverse))
}

.space-y-2>:not([hidden])~:not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(.5rem * var(--tw-space-y-reverse))
}

.space-y-3>:not([hidden])~:not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(.75rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(.75rem * var(--tw-space-y-reverse))
}

.space-y-4>:not([hidden])~:not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse))
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.rounded {
    border-radius: .25rem
}

.rounded-md {
    border-radius: .375rem
}

.border {
    border-width: 1px
}

.border-border {
    border-color: hsl(var(--border))
}

.bg-background {
    background-color: hsl(var(--background))
}

.bg-primary {
    background-color: hsl(var(--primary))
}

.bg-rose-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(225 29 72 / var(--tw-bg-opacity, 1))
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1))
}

.p-0 {
    padding: 0
}

.px-2 {
    padding-left: .5rem;
    padding-right: .5rem
}

.px-3 {
    padding-left: .75rem;
    padding-right: .75rem
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem
}

.py-3 {
    padding-top: .75rem;
    padding-bottom: .75rem
}

.pb-10 {
    padding-bottom: 2.5rem
}

.pr-10 {
    padding-right: 2.5rem
}

.pt-2 {
    padding-top: .5rem
}

.text-center {
    text-align: center
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem
}

.font-medium {
    font-weight: 500
}

.font-semibold {
    font-weight: 600
}

.italic {
    font-style: italic
}

.leading-6 {
    line-height: 1.5rem
}

.text-\[\#8f8f8f\] {
    --tw-text-opacity: 1;
    color: rgb(143 143 143 / var(--tw-text-opacity, 1))
}

.text-\[\#a3a3a3\] {
    --tw-text-opacity: 1;
    color: rgb(163 163 163 / var(--tw-text-opacity, 1))
}

.text-emerald-700 {
    --tw-text-opacity: 1;
    color: rgb(4 120 87 / var(--tw-text-opacity, 1))
}

.text-foreground {
    color: hsl(var(--foreground))
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground))
}

.text-primary-foreground {
    color: hsl(var(--primary-foreground))
}

.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1))
}

.outline-none {
    outline: 2px solid transparent;
    outline-offset: 2px
}

.filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
}

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s
}

:root {
    --background: 0 0% 97%;
    --foreground: 158 22% 12%;
    --muted: 0 0% 92%;
    --muted-foreground: 156 8% 42%;
    --border: 0 0% 90%;
    --primary: 142 55% 53%;
    --primary-foreground: 0 0% 100%
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #e4e4e4 transparent
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px
}

*::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #e4e4e4;
    border: 2px solid transparent;
    background-clip: content-box
}

*::-webkit-scrollbar-track {
    background: transparent
}

body {
    margin: 0;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: -apple-system, SF Pro Text, PingFang SC, Noto Sans SC, system-ui, sans-serif
}

button,
input,
textarea {
    font: inherit
}

.auth-shell {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at top left, rgba(16, 185, 129, .16), transparent 32rem), hsl(var(--background))
}

.auth-panel {
    width: 100%;
    max-width: 390px;
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    background: #ffffffe0;
    padding: 28px;
    box-shadow: 0 18px 60px #15271f14;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px)
}

.app-shell {
    display: flex;
    height: 100vh;
    width: 100%;
    gap: 20px;
    overflow: hidden;
    background: hsl(var(--background))
}

.desktop-sidebar {
    display: none
}

.app-sidebar {
    width: 306px;
    height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    background: #f7f7f7;
    padding: 22px 0 28px
}

.app-sidebar::-webkit-scrollbar {
    width: 0;
    height: 0
}

.mobile-sidebar-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    visibility: hidden;
    background: #12181538;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px)
}

.mobile-sidebar-backdrop.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto
}

.mobile-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    transform: translate(-100%);
    transition: transform .18s ease;
    box-shadow: 24px 0 50px #15271f1f
}

.mobile-sidebar.is-open {
    transform: translate(0)
}

.sidebar-section {
    padding: 0 10px;
    margin-bottom: 26px
}

.sidebar-button {
    display: flex;
    min-height: 37px;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    border-radius: 6px;
    padding: 0 10px;
    color: hsl(var(--foreground));
    font-size: 15px;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, transform .15s ease
}

.sidebar-button:not([data-active=true]) {
    background-color: transparent !important
}

.sidebar-button:not([data-active=true]):hover {
    background-color: #48c77426 !important;
    color: hsl(var(--foreground))
}

.sidebar-button[data-active=true],
.sidebar-button[data-active=true]:hover {
    background-color: #48c774 !important;
    color: #fff !important
}

.sidebar-button:active {
    transform: scale(.98)
}

.sidebar-button>svg {
    width: 16px;
    height: 16px;
    display: block;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round
}

.sidebar-button-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.tag-section {
    transition: background-color .15s ease
}

.tag-section-heading {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px
}

.tag-section-header {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    border-radius: 6px;
    padding: 0 8px;
    color: hsl(var(--muted-foreground));
    font-size: 12px
}

.tag-section-arrow {
    flex: none;
    opacity: 0;
    transform: rotate(0);
    transition: opacity .15s ease, transform .15s ease
}

.tag-section:hover .tag-section-arrow,
.tag-section-header:focus-visible .tag-section-arrow {
    opacity: 1
}

.tag-section-header[aria-expanded=false] .tag-section-arrow {
    transform: rotate(-90deg)
}

.tag-search-toggle {
    display: inline-flex;
    height: 26px;
    width: 26px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #9a9a9a;
    opacity: 0;
    transition: background-color .15s ease, color .15s ease, opacity .15s ease, transform .15s ease
}

.tag-section:hover .tag-search-toggle,
.tag-search-toggle:focus-visible,
.tag-search-toggle[data-active=true] {
    opacity: 1
}

.tag-search-toggle:hover,
.tag-search-toggle:focus-visible,
.tag-search-toggle[data-active=true] {
    background: #eee;
    color: #333;
    outline: none
}

.tag-search-toggle:active {
    transform: scale(.96)
}

.tag-section-body {
    display: grid;
    gap: 8px
}

.tag-search-shell {
    position: relative
}

.tag-search-input {
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: #eee;
    padding-left: 30px;
    color: #303030;
    font-size: 13px;
    box-shadow: none
}

.tag-search-input::-moz-placeholder {
    color: #a0a0a0
}

.tag-search-input::placeholder {
    color: #a0a0a0
}

.tag-search-input:focus {
    border: 0;
    background: #e9e9e9;
    box-shadow: inset 0 0 0 1px #48c7743d;
    outline: none
}

.tag-sidebar-item {
    display: grid;
    min-height: 37px;
    grid-template-columns: minmax(0, 1fr) 30px;
    align-items: center;
    border-radius: 6px;
    color: hsl(var(--muted-foreground));
    transition: background-color .15s ease, color .15s ease, transform .15s ease
}

.tag-sidebar-item:not([data-active=true]):hover,
.tag-sidebar-item[data-menu-open=true] {
    background-color: #48c77426;
    color: hsl(var(--foreground))
}

.tag-sidebar-item[data-active=true] {
    background-color: #48c774;
    color: #fff
}

.tag-sidebar-select {
    display: grid;
    min-width: 0;
    min-height: 37px;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 0 4px 0 10px;
    color: inherit;
    font-size: 14px;
    text-align: left
}

.tag-sidebar-item:active {
    transform: scale(.98)
}

.tag-sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit
}

.tag-emoji-icon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    align-items: center;
    justify-content: center;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    line-height: 1
}

.tag-sidebar-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.tag-sidebar-count {
    color: inherit;
    font-size: 12px;
    opacity: .7
}

.tag-sidebar-item[data-active=true] .tag-sidebar-count {
    opacity: .86
}

.tag-item-menu {
    justify-self: end;
    overflow: visible
}

.tag-item-menu .floating-menu-panel {
    width: 154px
}

.tag-item-menu-trigger {
    display: inline-flex;
    height: 28px;
    width: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: inherit;
    opacity: 0;
    transition: background-color .15s ease, opacity .15s ease, transform .15s ease
}

.tag-sidebar-item:hover .tag-item-menu-trigger,
.tag-item-menu-trigger:focus-visible,
.tag-item-menu-trigger[data-open=true] {
    opacity: 1
}

.tag-item-menu-trigger:hover,
.tag-item-menu-trigger:focus-visible,
.tag-item-menu-trigger[data-open=true] {
    background: #ffffff42;
    outline: none
}

.tag-sidebar-item:not([data-active=true]) .tag-item-menu-trigger:hover,
.tag-sidebar-item:not([data-active=true]) .tag-item-menu-trigger:focus-visible,
.tag-sidebar-item:not([data-active=true]) .tag-item-menu-trigger[data-open=true] {
    background: #ffffffd1
}

.tag-item-menu-trigger:active {
    transform: scale(.96)
}

.dialog-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1218152e;
    padding: 20px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px)
}

.tag-icon-dialog {
    width: min(390px, 100%);
    max-height: min(620px, calc(100vh - 40px));
    overflow: hidden;
    border: 1px solid rgba(232, 232, 232, .92);
    border-radius: 12px;
    background: #fffffffa;
    padding: 0;
    box-shadow: 0 24px 80px #141f1a2e, 0 1px #ffffffe6 inset
}

.tag-icon-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #eeeeee;
    background: #fbfbfb;
    padding: 16px 16px 14px
}

.tag-icon-dialog-title-row {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px
}

.tag-icon-dialog-preview {
    display: inline-flex;
    height: 46px;
    width: 46px;
    flex: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(72, 199, 116, .26);
    border-radius: 10px;
    background: #eef9f2;
    color: #258f55;
    box-shadow: 0 8px 20px #48c7741f
}

.tag-icon-dialog-emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 28px;
    line-height: 1
}

.tag-icon-dialog-header h2 {
    color: hsl(var(--foreground));
    font-size: 16px;
    font-weight: 650;
    line-height: 1.25
}

.tag-icon-dialog-header p {
    margin-top: 4px;
    overflow: hidden;
    color: #8a8a8a;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap
}

.dialog-close-button {
    display: inline-flex;
    height: 32px;
    width: 32px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #9a9a9a;
    transition: background-color .15s ease, color .15s ease, transform .15s ease
}

.dialog-close-button:hover,
.dialog-close-button:focus-visible {
    background: #eee;
    color: #333;
    outline: none
}

.dialog-close-button:active {
    transform: scale(.96)
}

.tag-icon-dialog-toolbar {
    padding: 12px 14px 0
}

.tag-icon-default-button {
    display: inline-flex;
    min-height: 34px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fff;
    padding: 0 10px;
    color: #444;
    font-size: 13px;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease
}

.tag-icon-default-button span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0
}

.tag-icon-default-button:hover,
.tag-icon-default-button:focus-visible,
.tag-icon-default-button[data-selected=true] {
    border-color: #48c77480;
    background: #f0fbf4;
    color: #258f55;
    outline: none
}

.tag-icon-default-button:disabled {
    cursor: wait;
    opacity: .68
}

.tag-icon-default-button:active {
    transform: scale(.98)
}

.tag-icon-picker-shell {
    padding: 12px 14px 14px
}

.tag-icon-picker {
    --epr-bg-color: #ffffff;
    --epr-category-label-bg-color: #ffffff;
    --epr-highlight-color: #48c774;
    --epr-hover-bg-color: #ecf8f0;
    --epr-focus-bg-color: #ecf8f0;
    --epr-search-input-bg-color: #f4f4f4;
    --epr-search-input-bg-color-active: #eeeeee;
    --epr-text-color: #303030;
    --epr-picker-border-color: #eeeeee;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: none
}

.tag-icon-picker-loading {
    display: grid;
    height: 360px;
    place-items: center;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fff;
    color: #8a8a8a;
    font-size: 13px
}

.tag-icon-picker .epr-search-container input {
    border-radius: 8px;
    font-size: 13px
}

.tag-icon-picker .epr-emoji-category-label {
    color: #777;
    font-size: 12px;
    font-weight: 600
}

.tag-icon-picker .epr-emoji {
    justify-content: center
}

.profile-menu {
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%
}

.profile-menu .floating-menu-panel {
    width: 188px
}

.profile-menu-trigger {
    display: inline-flex;
    min-height: 34px;
    max-width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    border-radius: 7px;
    color: hsl(var(--foreground));
    font-size: 15px;
    font-weight: 650;
    transition: background-color .15s ease, color .15s ease
}

.profile-menu-trigger[data-open=true] {
    background: transparent
}

.profile-menu-trigger svg {
    flex: none;
    color: #8f8f8f;
    transition: transform .15s ease
}

.profile-menu-trigger[data-open=true] svg {
    transform: rotate(180deg)
}

.profile-badge {
    flex: none;
    border-radius: 4px;
    background: #e6e6e6;
    padding: 1px 5px;
    color: #666;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4
}

.profile-badge[data-plan=member] {
    background: #167244;
    color: #ecfdf3
}

.app-main {
    min-width: 0;
    height: 100vh;
    flex: 1;
    overflow-y: scroll;
    overscroll-behavior: contain
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    height: 60px;
    margin-top: 7px;
    margin-bottom: 7px;
    align-items: center;
    gap: 14px;
    background: #f7f7f7eb;
    padding: 0;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px)
}

.title-menu-trigger {
    display: inline-flex;
    max-width: 100%;
    height: 28px;
    align-items: center;
    gap: 3px;
    border-radius: 6px;
    padding: 0 4px 0 0;
    color: hsl(var(--foreground));
    font-size: 14px;
    transition: background-color .15s ease, color .15s ease
}

.title-menu-trigger span {
    min-width: 0
}

.title-heading {
    cursor: default;
    font-weight: inherit
}

.title-heading:hover {
    color: hsl(var(--foreground))
}

.title-menu-trigger svg {
    flex: none;
    color: #8f8f8f;
    padding: 2px;
    transition: transform .15s ease
}

.title-home-button {
    display: inline-flex;
    height: 22px;
    width: 22px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #8f8f8f;
    transition: background-color .15s ease, color .15s ease, transform .15s ease
}

.title-home-demerger {
    color: #8f8f8f;
    padding-right: 5px
}

.title-home-button:hover,
.title-home-button:focus-visible {
    background: #ededed;
    color: #252525;
    outline: none
}

.title-home-button:active {
    transform: scale(.96)
}

.title-home-button svg {
    padding: 1px
}

.title-menu-trigger:hover,
.title-menu-trigger[data-open=true] {
    color: #252525
}

.title-menu-trigger[data-open=true] svg {
    transform: rotate(180deg)
}

.floating-menu-root {
    position: relative;
    display: inline-flex;
    min-width: 0
}

.floating-menu-panel,
.floating-menu-submenu {
    width: 212px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fffffffa;
    padding: 4px;
    box-shadow: 0 14px 42px #141f1a24
}

.floating-menu-panel {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    z-index: 70
}

.floating-menu-panel[data-align=end] {
    right: 0;
    left: auto
}

.floating-menu-submenu {
    position: absolute;
    top: 8px;
    left: calc(100% + 2px)
}

.floating-menu-item {
    display: grid;
    min-height: 36px;
    width: 100%;
    grid-template-columns: 26px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 8px;
    border-radius: 7px;
    padding: 8px;
    color: #333;
    text-align: left;
    transition: background-color .15s ease, color .15s ease
}

.floating-menu-item:hover,
.floating-menu-item:focus-visible,
.floating-menu-item[data-active=true] {
    background: #f5f5f5;
    outline: none
}

.floating-menu-item:disabled {
    cursor: not-allowed;
    opacity: .55
}

.floating-menu-item[data-danger=true] {
    color: #be123c
}

.floating-menu-separator {
    height: 1px;
    margin: 4px 6px;
    background: #ededed
}

.floating-menu-icon,
.floating-menu-trailing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor
}

.floating-menu-copy {
    min-width: 0
}

.floating-menu-label,
.floating-menu-description {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.floating-menu-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2
}

.floating-menu-description {
    margin-top: 2px;
    color: #9a9a9a;
    font-size: 12px;
    line-height: 1.2
}

.composer {
    position: relative;
    margin-bottom: 12px;
    box-shadow: none
}

.composer-textarea {
    height: 98px;
    padding-right: 44px;
    transition: height .18s ease, border-color .15s ease, box-shadow .15s ease
}

.composer-textarea:focus {
    height: 132px
}

.composer-textarea.is-expanded {
    height: 146px
}

.composer-textarea.is-force-expanded {
    height: 60vh
}

.composer.is-dragging .composer-textarea {
    border-color: #39a96b;
    background: #f4fbf6;
    box-shadow: 0 0 0 2px #39a96b24
}

.composer-expand-button {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    display: inline-flex;
    height: 30px;
    width: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #8f8f8f;
    transition: background-color .15s ease, color .15s ease, transform .15s ease
}

.composer-expand-button:hover,
.composer-expand-button:focus-visible {
    background: #ecf8f0;
    color: #258f55;
    outline: none
}

.composer-expand-button:active {
    transform: scale(.96)
}

.composer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.composer-toolbar {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px
}

.composer-emoji-tool {
    position: relative;
    display: inline-flex
}

.composer-tool-button {
    display: inline-flex;
    height: 30px;
    width: 30px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #8f8f8f;
    transition: background-color .15s ease, color .15s ease, transform .15s ease
}

.composer-tool-button:hover,
.composer-tool-button:focus-visible {
    background: #ecf8f0;
    color: #258f55;
    outline: none
}

.composer-tool-button[data-open=true] {
    background: #ecf8f0;
    color: #258f55
}

.composer-tool-button:disabled {
    cursor: progress;
    opacity: .62
}

.composer-tool-button:active {
    transform: scale(.96)
}

.composer-spin-icon {
    animation: random-roam-spin .9s linear infinite
}

.composer-emoji-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: min(340px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fffffffa;
    box-shadow: 0 16px 44px #141f1a29
}

.composer-emoji-picker {
    border: 0;
    border-radius: 10px
}

.composer-emoji-loading {
    display: grid;
    height: 320px;
    place-items: center;
    background: #fff;
    color: #8a8a8a;
    font-size: 13px
}

.memo-item {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 10px;
    background: #ffffffeb;
    padding: 16px;
    box-shadow: none;
    opacity: 0;
    transform: translateY(8px);
    animation: memoFadeIn .42s cubic-bezier(.22, .61, .36, 1) forwards
}

@keyframes memoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.space-y-3>.memo-item:nth-child(1) {
    animation-delay: .04s
}

.space-y-3>.memo-item:nth-child(2) {
    animation-delay: .08s
}

.space-y-3>.memo-item:nth-child(3) {
    animation-delay: .12s
}

.space-y-3>.memo-item:nth-child(4) {
    animation-delay: .16s
}

.space-y-3>.memo-item:nth-child(5) {
    animation-delay: .20s
}

.space-y-3>.memo-item:nth-child(6) {
    animation-delay: .24s
}

.space-y-3>.memo-item:nth-child(7) {
    animation-delay: .28s
}

.space-y-3>.memo-item:nth-child(8) {
    animation-delay: .32s
}

.space-y-3>.memo-item:nth-child(9) {
    animation-delay: .36s
}

.space-y-3>.memo-item:nth-child(10) {
    animation-delay: .40s
}

.space-y-3>.memo-item:nth-child(n+11) {
    animation-delay: .44s
}

@media (prefers-reduced-motion: reduce) {
    .memo-item {
        animation: none;
        opacity: 1;
        transform: none
    }
}

.memo-item.menu-open {
    z-index: 12
}

.memo-item.is-menu-open,
.memo-item:has(.floating-menu-trigger[data-open="true"]) {
    z-index: 100
}

.memo-item.is-selectable,
.memo-item.has-menu {
    padding-right: 20px
}

.memo-item.is-selected {
    box-shadow: inset 0 0 0 1px #48c7748a
}

.memo-item.is-pinned {
    padding-top: 20px
}

.memo-pin-badge {
    position: absolute;
    top: 10px;
    left: 12px;
    display: inline-flex;
    height: 20px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 6px;
    background: #e9f7ef;
    padding: 0 7px;
    color: #258f55;
    font-size: 11px;
    font-weight: 650;
    line-height: 1
}

.memo-time {
    display: block;
    margin-bottom: 8px;
    color: #b2b2b2;
    font-size: 12px;
    line-height: 1.35
}

.memo-select-button {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    height: 26px;
    width: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #39a96b;
    transition: background-color .15s ease, transform .15s ease
}

.memo-select-button:hover {
    background: #ecf8f0
}

.memo-select-button:active {
    transform: scale(.96)
}

.memo-select-box {
    display: inline-flex;
    height: 17px;
    width: 17px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #c8c8c8;
    border-radius: 5px;
    background: #fff;
    color: #fff
}

.memo-select-button[aria-pressed=true] .memo-select-box {
    border-color: #39a96b;
    background: #39a96b
}

.memo-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 8
}

.memo-menu .floating-menu-panel {
    width: 172px
}

.memo-menu-trigger {
    display: inline-flex;
    height: 30px;
    width: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #9a9a9a;
    transition: background-color .15s ease, color .15s ease, transform .15s ease
}

.memo-menu-trigger:hover,
.memo-menu-trigger[data-open=true] {
    background: #f1f1f1;
    color: #3f3f3f
}

.memo-menu-trigger:active {
    transform: scale(.96)
}

.selection-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    background: #fffffff5;
    padding: 10px 12px
}

.selection-toolbar strong,
.selection-toolbar span {
    display: block
}

.selection-toolbar strong {
    color: #2f2f2f;
    font-size: 14px;
    font-weight: 650
}

.selection-toolbar span {
    margin-top: 2px;
    color: #909090;
    font-size: 12px
}

.selection-actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px
}

.settings-panel {
    display: grid;
    gap: 12px
}

.settings-section {
    border: 1px solid #ededed;
    border-radius: 10px;
    background: #fffffff0;
    padding: 18px;
    box-shadow: 0 1px #00000005
}

.settings-label {
    margin: 0 0 8px;
    color: #8f8f8f;
    font-size: 12px
}

.settings-title {
    margin: 0 0 16px;
    color: hsl(var(--foreground));
    font-size: 18px;
    font-weight: 650
}

.settings-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.settings-account strong {
    display: block;
    margin-top: 4px;
    color: #2f2f2f;
    font-size: 18px
}

.settings-account span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #ecf8f0;
    padding: 6px 10px;
    color: #29965a;
    font-size: 12px;
    white-space: nowrap
}

.admin-panel {
    display: grid;
    gap: 12px
}

.admin-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #ededed;
    border-radius: 10px;
    background: #fffffff0;
    padding: 18px
}

.admin-search {
    position: relative;
    width: min(260px, 100%)
}

.admin-search svg {
    position: absolute;
    top: 50%;
    left: 10px;
    color: #9a9a9a;
    transform: translateY(-50%)
}

.admin-search input {
    padding-left: 32px
}

.admin-user-list {
    overflow: hidden;
    border: 1px solid #ededed;
    border-radius: 10px;
    background: #fffffff0
}

.admin-user-row,
.admin-row {
    display: grid;
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 14px
}

.admin-user-row:last-child,
.admin-row:last-child {
    border-bottom: 0
}

.admin-row-muted {
    display: flex;
    color: #8f8f8f;
    font-size: 14px
}

.admin-user-main {
    min-width: 0
}

.admin-user-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px
}

.admin-user-title strong {
    min-width: 0;
    overflow: hidden;
    color: #2f2f2f;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.admin-user-main>span {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #8f8f8f;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.admin-user-title span {
    flex: none;
    border-radius: 4px;
    background: #f2f2f2;
    padding: 1px 5px;
    color: #666;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap
}

.admin-user-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px
}

.admin-user-meta span {
    border-radius: 999px;
    background: #f2f2f2;
    padding: 4px 8px;
    color: #666;
    font-size: 12px;
    white-space: nowrap
}

.admin-user-title span[data-plan=member] {
    background: #167244;
    color: #ecfdf3
}

.admin-footer {
    display: flex;
    justify-content: center
}

.ai-coming-soon-panel {
    display: grid;
    min-height: 280px;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    background: #ffffffeb;
    padding: 44px 20px;
    text-align: center
}

.ai-coming-soon-icon {
    display: inline-flex;
    height: 52px;
    width: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ecf8f0;
    color: #258f55
}

.ai-mode-pill {
    margin: 0;
    border-radius: 999px;
    background: #f1f7f3;
    padding: 5px 10px;
    color: #2b8f57;
    font-size: 12px;
    font-weight: 650
}

.ai-coming-soon-panel h2 {
    color: hsl(var(--foreground));
    font-size: 18px;
    font-weight: 650;
    line-height: 1.35
}

.ai-coming-soon-panel p {
    color: hsl(var(--muted-foreground));
    font-size: 14px;
    line-height: 1.5
}

.profile-panel {
    padding: 0 10px 18px;
    margin-bottom: 16px
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0 16px
}

.profile-stats div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 30px
}

.profile-stats strong {
    color: #999;
    font-size: 24px;
    line-height: 1;
    font-weight: 700
}

.profile-stats span {
    color: hsl(var(--muted-foreground));
    font-size: 12px
}

.activity-panel {
    overflow: hidden;
    width: 100%
}

.activity-grid {
    display: grid;
    grid-template-rows: repeat(7, 12px);
    grid-auto-flow: column;
    gap: 4px;
    width: 100%
}

.activity-months {
    display: grid;
    gap: 4px;
    width: 100%;
    margin-top: 10px;
    color: #aaa;
    font-size: 12px;
    line-height: 1
}

.activity-cell {
    height: 12px;
    width: 12px;
    border-radius: 3px;
    transition: background-color .15s ease, opacity .15s ease
}

.activity-cell-empty {
    background: #eee
}

.activity-cell-low {
    background: #b9f2cf
}

.activity-cell-medium {
    background: #76dfa2
}

.activity-cell-high {
    background: #3fca75
}

.activity-cell-peak {
    background: #25a85d
}

.activity-cell-future {
    background: #f7f7f7;
    opacity: .45
}

.search-shell {
    position: relative;
    width: 244px
}

.search-input {
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #ececec;
    padding-left: 40px;
    color: #303030;
    box-shadow: none
}

.search-input::-moz-placeholder {
    color: #8b8b8b
}

.search-input::placeholder {
    color: #8b8b8b
}

.search-input:focus {
    border: 0;
    background: #e8e8e8;
    box-shadow: inset 0 0 0 1px #48c77447;
    outline: none
}

.memo-markdown {
    color: hsl(var(--foreground));
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: anywhere
}

.memo-markdown>*:first-child {
    margin-top: 0
}

.memo-markdown>*:last-child {
    margin-bottom: 0
}

.memo-markdown h1,
.memo-markdown h2,
.memo-markdown h3 {
    margin: 1em 0 .4em;
    font-weight: 650;
    line-height: 1.35
}

.memo-markdown p,
.memo-markdown ul,
.memo-markdown ol,
.memo-markdown blockquote,
.memo-markdown pre,
.memo-markdown table,
.memo-markdown hr {
    margin: .7em 0
}

.memo-markdown a {
    border-radius: 3px;
    color: #237f50;
    word-break: break-all;
    text-decoration: underline;
    text-decoration-color: #237f5052;
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
    transition: background-color .16s ease, color .16s ease, text-decoration-color .16s ease
}

.memo-markdown a:hover {
    background: #22c55e1a;
    color: #17643d;
    text-decoration-color: #17643db8
}

.memo-markdown a:focus-visible {
    outline: 2px solid rgba(34, 197, 94, .42);
    outline-offset: 2px
}

.memo-markdown strong {
    font-weight: 700
}

.memo-markdown em {
    color: #31443a
}

.memo-markdown del {
    color: hsl(var(--muted-foreground))
}

.memo-markdown ul,
.memo-markdown ol {
    padding-left: 1.3rem
}

.memo-markdown ul {
    list-style: disc
}

.memo-markdown ol {
    list-style: decimal
}

.memo-markdown li {
    margin: .18em 0;
    padding-left: .12rem
}

.memo-markdown li::marker {
    color: #42a96b
}

.memo-markdown li>p {
    margin: .3em 0
}

.memo-markdown li:has(input[type=checkbox]) {
    list-style: none
}

.memo-markdown input[type=checkbox] {
    width: 1em;
    height: 1em;
    margin: 0 .45em .15em -1.25rem;
    accent-color: #35b86d;
    vertical-align: middle
}

.memo-markdown img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(520px, 68vh);
    margin: .85em 0;
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    background: #fff;
    -o-object-fit: contain;
    object-fit: contain;
    box-shadow: 0 12px 30px #15271f14
}

.memo-markdown a:has(img) {
    display: block;
    width: -moz-fit-content;
    /* width: fit-content; */
    max-width: 100%;
    border-radius: 8px;
    text-decoration: none
}

.memo-markdown a:has(img):hover {
    background: transparent
}

.memo-markdown code {
    border-radius: 4px;
    background: hsl(var(--muted));
    padding: .14rem .32rem;
    font-size: .92em
}

.memo-markdown pre {
    overflow: auto;
    border-radius: 6px;
    background: #efefef;
    padding: 12px;
    color: #14211b
}

.memo-markdown pre code {
    background: transparent;
    padding: 0;
    color: inherit;
    font-size: inherit
}

.memo-markdown blockquote {
    border-left: 3px solid rgb(16 185 129 / .55);
    padding-left: 12px;
    color: hsl(var(--muted-foreground))
}

.memo-markdown table {
    display: block;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: .94em
}

.memo-markdown th,
.memo-markdown td {
    border: 1px solid #e2e8e4;
    padding: .42rem .56rem;
    text-align: left;
    vertical-align: top
}

.memo-markdown th {
    background: #f1f8f4;
    color: #214633;
    font-weight: 650
}

.memo-markdown tr:nth-child(2n) td {
    background: #f7faf8e0
}

.memo-markdown hr {
    height: 1px;
    border: 0;
    background: linear-gradient(90deg, transparent, #dce7df 18%, #dce7df 82%, transparent)
}

.memo-tag-button {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    max-width: 100%;
    border-radius: 5px;
    background: #e7f8ee;
    padding: 0 6px;
    color: #21824f;
    font-size: 13px;
    line-height: 1.45;
    vertical-align: baseline;
    transition: background-color .15s ease, color .15s ease, transform .15s ease
}

.memo-tag-button:hover,
.memo-tag-button:focus-visible {
    background: #d5f3e1;
    color: #176c3f;
    outline: none
}

.memo-tag-button:active {
    transform: scale(.97)
}

.memo-skeleton {
    height: 130px;
    border-radius: 8px;
    background: linear-gradient(90deg, #ffffffb3, #e2f1e9e6, #ffffffb3);
    background-size: 240% 100%;
    animation: shimmer 1.2s ease-in-out infinite
}

.random-roam-page {
    display: grid;
    gap: 14px
}

.random-roam-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.random-roam-page-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px
}

.random-roam-page-title h2 {
    margin: 0;
    color: #2f2f2f;
    font-size: 18px;
    font-weight: 700
}

.random-roam-page-icon {
    display: inline-flex;
    height: 36px;
    width: 36px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e9f7ef;
    color: #1f8f55
}

.random-roam-panel {
    position: relative;
    overflow: hidden;
    min-height: 130px
}

.random-roam-panel.is-loading .memo-item,
.random-roam-panel.is-loading .memo-skeleton {
    opacity: .48
}

.random-roam-loading {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ecf8f0ad;
    color: #258f55;
    font-size: 14px;
    font-weight: 500;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px)
}

.random-roam-loading svg {
    animation: random-roam-spin .9s linear infinite
}

.random-roam-spin-icon {
    animation: random-roam-spin .9s linear infinite
}

.random-roam-empty {
    display: grid;
    min-height: 130px;
    place-items: center;
    gap: 10px;
    border: 1px dashed #d7e2da;
    border-radius: 8px;
    background: #ffffffb8;
    color: #858585;
    text-align: center
}

.random-roam-empty p {
    margin: 0;
    font-size: 14px
}

.empty-state {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    border: 1px dashed hsl(var(--border));
    border-radius: 8px;
    color: hsl(var(--muted-foreground));
    font-size: 14px
}

.explore-shell {
    min-height: 100vh;
    background: hsl(var(--background));
    padding: 34px 18px
}

.explore-article {
    width: 100%;
    max-width: min(720px, 100%);
    margin: 0 auto;
    border: 1px solid #ededed;
    border-radius: 10px;
    background: #fffffff0;
    padding: 18px
}

.explore-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 14px
}

.explore-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    color: #258f55;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none
}

.explore-meta {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    color: #8f8f8f;
    font-size: 12px
}

.explore-markdown {
    font-size: 16px
}

.explore-state {
    display: grid;
    min-height: 320px;
    width: min(520px, 100%);
    place-items: center;
    align-content: center;
    gap: 12px;
    margin: 0 auto;
    border: 1px solid #ededed;
    border-radius: 10px;
    background: #fffffff0;
    padding: 30px;
    text-align: center
}

.explore-state svg {
    color: #8f8f8f
}

.explore-state h1 {
    margin: 0;
    color: #2f2f2f;
    font-size: 18px;
    font-weight: 650
}

.explore-state a {
    color: #258f55;
    font-size: 14px;
    text-decoration: none
}

.explore-loading-icon {
    animation: random-roam-spin .9s linear infinite
}

@keyframes shimmer {
    0% {
        background-position: 100% 0
    }

    to {
        background-position: -100% 0
    }
}

@keyframes random-roam-spin {
    to {
        transform: rotate(360deg)
    }
}

@media (min-width: 1024px) {
    .app-shell {
        max-width: 1024px;
        margin: 0 auto;
        padding: 0 18px
    }

    .desktop-sidebar {
        display: block;
        position: sticky;
        top: 0;
        height: 100vh
    }

    .mobile-sidebar,
    .mobile-sidebar-backdrop {
        display: none
    }

    .app-topbar {
        padding: 0
    }
}

@media (max-width: 640px) {
    .floating-menu-submenu {
        position: static;
        width: auto;
        margin-top: 4px;
        margin-left: 34px;
        border: 0;
        background: #f7f7f7;
        box-shadow: none
    }

    .selection-toolbar {
        align-items: flex-start;
        flex-direction: column
    }

    .selection-actions {
        width: 100%;
        justify-content: flex-end
    }

    .admin-toolbar,
    .admin-user-row {
        align-items: stretch;
        grid-template-columns: 1fr
    }

    .admin-toolbar {
        display: grid
    }

    .admin-search {
        width: 100%
    }

    .admin-user-meta {
        justify-content: flex-start
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}

.app-main {
    scrollbar-color: transparent transparent !important
}

.app-main::-webkit-scrollbar-thumb {
    background-color: transparent !important
}

.app-main:hover {
    scrollbar-color: #e4e4e4 transparent !important
}

.app-main:hover::-webkit-scrollbar-thumb {
    background-color: #e4e4e4 !important;
    border: 2px solid transparent;
    background-clip: content-box
}

.placeholder\:text-muted-foreground::-moz-placeholder {
    color: hsl(var(--muted-foreground))
}

.placeholder\:text-muted-foreground::placeholder {
    color: hsl(var(--muted-foreground))
}

.hover\:bg-emerald-50:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1))
}

.hover\:bg-emerald-700:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(4 120 87 / var(--tw-bg-opacity, 1))
}

.hover\:bg-rose-700:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(190 18 60 / var(--tw-bg-opacity, 1))
}

.hover\:text-emerald-800:hover {
    --tw-text-opacity: 1;
    color: rgb(6 95 70 / var(--tw-text-opacity, 1))
}

.hover\:text-foreground:hover {
    color: hsl(var(--foreground))
}

.focus\:border-emerald-500:focus {
    --tw-border-opacity: 1;
    border-color: rgb(16 185 129 / var(--tw-border-opacity, 1))
}

.focus\:ring-2:focus {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
}

.focus\:ring-emerald-500\/15:focus {
    --tw-ring-color: rgb(16 185 129 / .15)
}

.focus-visible\:outline-none:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px
}

.focus-visible\:ring-2:focus-visible {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
}

.focus-visible\:ring-emerald-500:focus-visible {
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(16 185 129 / var(--tw-ring-opacity, 1))
}

.focus-visible\:ring-offset-2:focus-visible {
    --tw-ring-offset-width: 2px
}

.disabled\:pointer-events-none:disabled {
    pointer-events: none
}

.disabled\:opacity-50:disabled {
    opacity: .5
}

@media (min-width: 640px) {
    .sm\:block {
        display: block
    }

    .sm\:hidden {
        display: none
    }

    .sm\:px-0 {
        padding-left: 0;
        padding-right: 0
    }
}

@media (min-width: 1024px) {
    .lg\:hidden {
        display: none
    }
}