:root {
  --nt-brand: #38bdf8;
  --nt-brand-strong: #0284c7;
  --nt-brand-soft: #e0f2fe;
  --nt-ink: #0f172a;
  --nt-muted: #64748b;
  --nt-line: rgba(186, 230, 253, .84);
  --nt-line-strong: rgba(125, 211, 252, .92);
  --nt-card: rgba(255, 255, 255, .94);
  --nt-shadow: 0 18px 48px rgba(14, 165, 233, .1);
}

html {
  background: #f8fcff;
}

body.nt-page {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, #eff8ff 0%, #f8fcff 42%, #ffffff 100%);
  color: var(--nt-ink);
  font-family: Pretendard, "Noto Sans KR", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.nt-page *,
.nt-page *::before,
.nt-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.nt-page a {
  color: inherit;
}

.nt-shell {
  width: min(100% - 1.5rem, 1180px);
  margin: 0 auto;
  padding: 1.4rem 0 calc(5.5rem + env(safe-area-inset-bottom));
}

.nt-shell--article {
  width: min(100% - 1.5rem, 1040px);
}

.nt-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.nt-card {
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 8px;
  background: var(--nt-card);
  box-shadow: var(--nt-shadow);
}

.nt-card--flat {
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.nt-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(240, 249, 255, .98) 0%, rgba(255, 255, 255, .96) 62%, rgba(219, 234, 254, .82) 100%);
  box-shadow: var(--nt-shadow);
}

.nt-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #bae6fd, #38bdf8, #93c5fd);
}

.nt-hero__inner {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.nt-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .52fr);
  align-items: end;
}

.nt-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .45rem;
  min-height: 2rem;
  border: 1px solid rgba(125, 211, 252, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  padding: .35rem .65rem;
  color: #0369a1;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nt-title {
  margin: .8rem 0 0;
  color: #0f172a;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 950;
  line-height: 1.08;
  word-break: keep-all;
}

.nt-title--compact {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.nt-lead {
  max-width: 42rem;
  margin: .8rem 0 0;
  color: #475569;
  font-size: .96rem;
  font-weight: 750;
  line-height: 1.8;
  word-break: keep-all;
}

.nt-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.nt-stat {
  min-width: 0;
  border: 1px solid rgba(186, 230, 253, .74);
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
  padding: .85rem;
}

.nt-stat span {
  display: block;
  color: #64748b;
  font-size: .72rem;
  font-weight: 900;
}

.nt-stat strong {
  display: block;
  margin-top: .25rem;
  color: #075985;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1.1;
}

.nt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.nt-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid rgba(203, 213, 225, .94);
  border-radius: 8px;
  background: #ffffff;
  padding: .65rem .95rem;
  color: #334155;
  font-size: .88rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease;
  cursor: pointer;
}

.nt-button:hover,
.nt-button:focus-visible {
  border-color: var(--nt-line-strong);
  background: #f0f9ff;
  color: #0369a1;
  outline: none;
  box-shadow: 0 14px 30px rgba(14, 165, 233, .12);
}

.nt-button:active {
  transform: translateY(1px);
}

.nt-button:disabled,
.nt-button.is-disabled {
  cursor: not-allowed;
  opacity: .48;
  pointer-events: none;
}

.nt-button--primary {
  border-color: #38bdf8;
  background: #38bdf8;
  color: #082f49;
}

.nt-button--primary:hover,
.nt-button--primary:focus-visible {
  border-color: #0284c7;
  background: #0ea5e9;
  color: #ffffff;
}

.nt-button--danger {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.nt-button--danger:hover,
.nt-button--danger:focus-visible {
  border-color: #fb7185;
  background: #ffe4e6;
  color: #9f1239;
}

.nt-button--warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.nt-button--warning:hover,
.nt-button--warning:focus-visible {
  border-color: #f59e0b;
  background: #fef3c7;
  color: #78350f;
}

.nt-button--block {
  width: 100%;
}

.nt-segment {
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid rgba(226, 232, 240, .94);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  padding: .35rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .045);
  scrollbar-width: thin;
}

.nt-segment__item {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  gap: .42rem;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: .62rem .78rem;
  color: #475569;
  font-size: .84rem;
  font-weight: 950;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.nt-segment__item:hover,
.nt-segment__item:focus-visible {
  border-color: rgba(125, 211, 252, .86);
  background: #f0f9ff;
  color: #0369a1;
  outline: none;
}

.nt-segment__item.is-active {
  border-color: rgba(14, 165, 233, .8);
  background: #e0f2fe;
  color: #075985;
}

.nt-count {
  display: inline-flex;
  min-width: 1.45rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(14, 165, 233, .1);
  padding: 0 .42rem;
  color: #0369a1;
  font-size: .68rem;
  font-weight: 950;
}

.nt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  margin-top: 1rem;
}

.nt-stack {
  display: grid;
  gap: .75rem;
}

.nt-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.nt-side--sticky {
  position: sticky;
  top: calc(var(--header-height, 68px) + 1rem);
}

.nt-empty {
  padding: 3rem 1.25rem;
  text-align: center;
}

.nt-empty__icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #f0f9ff;
  color: #0284c7;
}

.nt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .8rem;
}

.nt-checkbox {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  border-radius: 5px;
  border-color: #bae6fd;
  color: #0284c7;
}

.nt-checkbox:focus {
  box-shadow: 0 0 0 3px rgba(125, 211, 252, .35);
}

.nt-notice {
  display: flex;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.nt-notice:hover,
.nt-notice:focus-within {
  border-color: var(--nt-line-strong);
  box-shadow: 0 20px 46px rgba(14, 165, 233, .13);
}

.nt-notice__select {
  display: grid;
  width: 3.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-right: 1px solid rgba(226, 232, 240, .82);
  background: rgba(248, 252, 255, .78);
}

.nt-notice__body {
  display: block;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 1rem;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

a.nt-notice__body {
  text-decoration: none;
}

.nt-notice__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}

.nt-notice__main {
  display: grid;
  min-width: 0;
  gap: .35rem;
}

.nt-notice__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  color: #94a3b8;
  font-size: .78rem;
  font-weight: 800;
}

.nt-notice__title {
  margin: .45rem 0 0;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.nt-notice__excerpt {
  display: -webkit-box;
  margin: .35rem 0 0;
  overflow: hidden;
  color: #64748b;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nt-notice__time {
  margin-left: auto;
  color: #0284c7;
  font-size: .75rem;
  font-weight: 950;
  white-space: nowrap;
}

.nt-notice.is-ended {
  background: rgba(248, 250, 252, .88);
  opacity: .82;
}

.nt-chip {
  display: inline-flex;
  min-height: 1.65rem;
  align-items: center;
  gap: .32rem;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: .25rem .52rem;
  font-size: .72rem;
  font-weight: 950;
  line-height: 1.2;
  white-space: nowrap;
}

.nt-chip--sky {
  border-color: #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
}

.nt-chip--blue {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.nt-chip--emerald {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

.nt-chip--slate,
.nt-chip--muted {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #475569;
}

.nt-chip--amber {
  border-color: #fde68a;
  background: #fffbeb;
  color: #b45309;
}

.nt-chip--rose {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.nt-panel {
  padding: 1rem;
}

.nt-panel__title {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 950;
}

.nt-panel__text {
  margin: .6rem 0 0;
  color: #64748b;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.7;
  word-break: keep-all;
}

.nt-soft-note {
  margin-top: .65rem;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  background: #fff1f2;
  padding: .65rem .75rem;
  color: #be123c;
  font-size: .75rem;
  font-weight: 900;
  line-height: 1.55;
}

.nt-pager {
  display: flex;
  justify-content: center;
  gap: .35rem;
  margin-top: .75rem;
}

.nt-page-link {
  display: inline-flex;
  min-width: 2.35rem;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(203, 213, 225, .94);
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: .86rem;
  font-weight: 900;
  text-decoration: none;
}

.nt-page-link:hover,
.nt-page-link:focus-visible,
.nt-page-link.is-active {
  border-color: #38bdf8;
  background: #e0f2fe;
  color: #075985;
  outline: none;
}

.nt-message {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  border: 1px solid;
  border-radius: 8px;
  padding: .85rem 1rem;
  font-size: .88rem;
  font-weight: 900;
  line-height: 1.6;
}

.nt-message--success {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

.nt-message--info {
  border-color: #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
}

.nt-message--warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.nt-message--danger {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.nt-toast {
  position: fixed;
  left: 50%;
  top: calc(var(--header-height, 68px) + .85rem);
  z-index: 1300;
  width: min(calc(100% - 2rem), 28rem);
  transform: translateX(-50%);
}

.nt-dialog {
  position: fixed;
  inset: 0;
  width: min(calc(100% - 1rem), 760px);
  max-height: min(82dvh, 760px);
  margin: auto;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  color: var(--nt-ink);
}

.nt-dialog[open] {
  display: block;
}

.nt-dialog::backdrop {
  background: rgba(15, 23, 42, .34);
  backdrop-filter: blur(7px);
}

.nt-dialog__panel {
  display: flex;
  max-height: inherit;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .22);
}

.nt-dialog__head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, .92);
  background: linear-gradient(135deg, #f0f9ff, #ffffff);
  padding: 1.1rem;
}

.nt-dialog__body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding: 1.1rem;
}

.nt-dialog__foot {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  border-top: 1px solid rgba(226, 232, 240, .92);
  background: #f8fcff;
  padding: .9rem 1.1rem;
}

.nt-icon-button {
  display: inline-grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid rgba(203, 213, 225, .94);
  border-radius: 8px;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
}

.nt-icon-button:hover,
.nt-icon-button:focus-visible {
  border-color: var(--nt-line-strong);
  background: #f0f9ff;
  color: #0369a1;
  outline: none;
}

.nt-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid #bae6fd;
  border-top-color: #0284c7;
  border-radius: 999px;
  animation: nt-spin .8s linear infinite;
  vertical-align: -.18rem;
}

@keyframes nt-spin {
  to { transform: rotate(360deg); }
}

.nt-content {
  color: #334155;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.nt-content p {
  margin: 0 0 1.1rem;
  line-height: 1.95;
}

.nt-content p:last-child {
  margin-bottom: 0;
}

.nt-content h2 {
  margin: 1.4rem 0 .75rem;
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1.35;
}

.nt-content h3 {
  margin: 1.2rem 0 .65rem;
  color: #0f172a;
  font-size: 1.16rem;
  font-weight: 950;
  line-height: 1.45;
}

.nt-content ul,
.nt-content ol {
  margin: .85rem 0 1.15rem 1.25rem;
  padding-left: 1rem;
  line-height: 1.9;
}

.nt-content ul {
  list-style: disc;
}

.nt-content ol {
  list-style: decimal;
}

.nt-content blockquote {
  margin: 1rem 0;
  border-left: 4px solid #38bdf8;
  border-radius: 0 8px 8px 0;
  background: #f0f9ff;
  padding: .85rem 1rem;
  color: #334155;
}

.nt-content pre {
  margin: 1rem 0;
  overflow-x: auto;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  padding: 1rem;
  color: #0f172a;
}

.nt-content code {
  border-radius: 6px;
  background: #f1f5f9;
  padding: .1rem .35rem;
  color: #0f172a;
  font-size: .9em;
}

.nt-content pre code {
  background: transparent;
  padding: 0;
}

.nt-content a {
  color: #0369a1;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nt-content .ql-align-center {
  text-align: center;
}

.nt-content .ql-align-right {
  text-align: right;
}

.nt-content .ql-align-justify {
  text-align: justify;
}

.nt-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 1rem;
  margin-top: 1rem;
}

.nt-article {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.nt-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.nt-meta-item {
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  gap: .4rem;
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
  padding: .4rem .65rem;
  color: #475569;
  font-size: .8rem;
  font-weight: 850;
}

.nt-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1rem;
  margin-top: 1rem;
}

.nt-form-section {
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.nt-field-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: .9rem;
}

.nt-field {
  display: grid;
  gap: .35rem;
}

.nt-label {
  color: #0f172a;
  font-size: .86rem;
  font-weight: 950;
}

.nt-help {
  color: #64748b;
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.55;
}

.nt-control {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(203, 213, 225, .95);
  border-radius: 8px;
  background: #ffffff;
  padding: .68rem .82rem;
  color: #0f172a;
  font-size: .96rem;
  font-weight: 800;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.nt-control:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, .32);
}

.nt-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 8px;
  background: #f8fcff;
  padding: .85rem;
}

.nt-switch {
  position: relative;
  display: inline-flex;
  width: 3rem;
  height: 1.65rem;
  flex: 0 0 auto;
  align-items: center;
}

.nt-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nt-switch span {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background-color .16s ease;
}

.nt-switch span::after {
  content: "";
  position: absolute;
  left: .18rem;
  top: .18rem;
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .16);
  transition: transform .16s ease;
}

.nt-switch input:checked + span {
  background: #38bdf8;
}

.nt-switch input:checked + span::after {
  transform: translateX(1.35rem);
}

.nt-switch input:focus-visible + span {
  outline: 3px solid rgba(125, 211, 252, .45);
  outline-offset: 3px;
}

.nt-editor-frame {
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, .95);
  border-radius: 8px;
  background: #ffffff;
}

.nt-editor-frame .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid rgba(226, 232, 240, .92);
  background: #f8fcff;
  padding: .65rem;
}

.nt-editor-frame .ql-container.ql-snow {
  border: 0;
  font-family: Pretendard, "Noto Sans KR", Inter, system-ui, sans-serif;
}

.nt-editor-frame .ql-editor {
  min-height: 360px;
  padding: 1rem;
  color: #0f172a;
  font-size: .96rem;
  line-height: 1.9;
}

.nt-editor-frame .ql-editor.ql-blank::before {
  left: 1rem;
  right: 1rem;
  color: #94a3b8;
  font-style: normal;
}

.nt-emoji-button {
  display: inline-flex;
  width: 28px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 16px;
}

.nt-emoji-button:hover {
  color: #0369a1;
}

.nt-emoji-picker {
  display: none;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: .35rem;
  border-top: 1px solid rgba(226, 232, 240, .92);
  background: #ffffff;
  padding: .75rem;
}

.nt-emoji-picker.is-open {
  display: grid;
}

.nt-emoji {
  min-height: 2.25rem;
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 8px;
  background: #f8fafc;
  font-size: 1.1rem;
  transition: transform .12s ease, background-color .12s ease;
}

.nt-emoji:hover,
.nt-emoji:focus-visible {
  background: #f0f9ff;
  outline: none;
}

.nt-emoji:active {
  transform: scale(.96);
}

.nt-preview {
  min-height: 8rem;
  max-height: 14rem;
  overflow-y: auto;
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 8px;
  background: #f8fcff;
  padding: .85rem;
}

.nt-bottom-bar {
  display: grid;
  gap: .5rem;
}

.nt-mobile-bar {
  display: none;
}

.nt-hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .nt-hero__grid,
  .nt-layout,
  .nt-article-layout,
  .nt-form-layout {
    grid-template-columns: 1fr;
  }

  .nt-side--sticky {
    position: static;
  }

  .nt-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nt-shell {
    width: min(100% - .9rem, 1180px);
    padding-top: .85rem;
  }

  .nt-hero__inner {
    padding: 1rem;
  }

  .nt-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nt-notice__body {
    padding: .9rem;
  }

  .nt-notice__time {
    width: 100%;
    margin-left: 0;
  }

  .nt-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .nt-field-grid {
    grid-template-columns: 1fr;
  }

  .nt-editor-frame .ql-toolbar.ql-snow {
    overflow-x: auto;
    white-space: nowrap;
  }

  .nt-editor-frame .ql-editor {
    min-height: 300px;
  }

  .nt-emoji-picker {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .nt-dialog {
    width: calc(100% - .6rem);
    max-height: 86dvh;
    margin: auto;
  }

  .nt-dialog__body {
    max-height: none;
  }

  .nt-dialog__foot {
    display: grid;
  }

  .nt-mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 900;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    border-top: 1px solid rgba(186, 230, 253, .84);
    background: rgba(255, 255, 255, .94);
    padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom));
    box-shadow: 0 -16px 36px rgba(14, 165, 233, .1);
    backdrop-filter: blur(16px);
  }

  .nt-desktop-only {
    display: none !important;
  }
}
