@font-face {
  font-family: InterLocal;
  src: local("Inter"), local("Segoe UI");
}
@font-face {
  font-family: OswaldLocal;
  src: local("Oswald"), local("Arial Narrow");
}
* {
  box-sizing: border-box;
}
:root {
  --bg: #f5f9ff;
  --card: rgba(255, 255, 255, 0.78);
  --solid: #fff;
  --text: #101322;
  --muted: #51586b;
  --faint: #7e8496;
  --line: rgba(0, 102, 255, 0.13);
  --blue: #06f;
  --blue-dark: #04c;
  --shadow: 0 12px 32px rgba(0, 55, 145, 0.075);
  --radius: 15px;
  --green: #14945a;
  --red: #c33e4d;
  --amber: #bd7900;
}
html[data-theme="dark"] {
  --bg: #0d1117;
  --card: rgba(27, 37, 51, 0.88);
  --solid: #17202c;
  --text: #e7edf5;
  --muted: #b4becc;
  --faint: #8995a6;
  --line: rgba(114, 159, 240, 0.2);
  --blue: #5b9bff;
  --blue-dark: #3677d1;
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.55 InterLocal,
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  min-height: 100vh;
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.52;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
}
.bg-glow {
  position: fixed;
  right: -15%;
  top: -34%;
  width: 65vw;
  height: 65vw;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1), transparent 68%);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
.topbar {
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 max(22px, calc((100% - 1280px) / 2));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(17px);
  border-bottom: 1px solid var(--line);
}
.brand {
  white-space: nowrap;
  font:
    800 25px OswaldLocal,
    "Arial Narrow",
    sans-serif;
  letter-spacing: 0.07em;
}
.brand span {
  color: var(--blue);
}
.main-nav {
  display: flex;
  gap: 20px;
  white-space: nowrap;
}
.main-nav a {
  padding: 24px 0;
  color: var(--muted);
  font-weight: 550;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
}
.search {
  max-width: 360px;
  flex: 1;
  position: relative;
}
.search span {
  position: absolute;
  left: 12px;
  top: 5px;
  font-size: 23px;
  color: var(--faint);
}
.search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 9px 12px 9px 36px;
  color: var(--text);
  outline: 0;
}
.search input:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 13%, transparent);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.btn,
.icon-btn,
.user-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 9px 14px;
  font-weight: 650;
  transition: 0.16s;
}
.btn:hover,
.icon-btn:hover,
.user-chip:hover {
  border-color: color-mix(in srgb, var(--blue) 50%, var(--line));
  transform: translateY(-1px);
}
.btn.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.2);
}
.btn.primary:hover {
  box-shadow: 0 9px 20px rgba(0, 102, 255, 0.28);
}
.btn.small,
.icon-btn {
  padding: 7px 11px;
  font-size: 13px;
}
.btn.danger {
  color: var(--red);
}
.user-chip {
  border: 0;
  background: none;
  padding: 3px 6px;
}
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 64px;
  min-height: calc(100vh - 132px);
}
.loading {
  margin: 20vh auto;
  text-align: center;
  color: var(--muted);
}
.loading i,
.spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
}
.display {
  font:
    650 clamp(29px, 4vw, 46px) / 1.12 OswaldLocal,
    "Arial Narrow",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  margin: 7px 0;
}
.muted {
  color: var(--muted);
}
.faint {
  color: var(--faint);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 33px 37px;
  margin: 10px 0 32px;
}
.hero:after {
  content: "GRX";
  position: absolute;
  right: 14px;
  bottom: -65px;
  font:
    800 210px OswaldLocal,
    sans-serif;
  color: var(--blue);
  opacity: 0.045;
  pointer-events: none;
}
.hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 15px;
  margin: 12px 0 22px;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.spread {
  justify-content: space-between;
}
.stats {
  display: flex;
  gap: 30px;
  margin-top: 24px;
}
.stats strong {
  display: block;
  font:
    700 23px OswaldLocal,
    sans-serif;
}
.stats span {
  color: var(--faint);
  font-size: 12px;
}
.section {
  margin: 30px 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-head h2,
.panel-title {
  margin: 0;
  font:
    650 22px OswaldLocal,
    "Arial Narrow",
    sans-serif;
  text-transform: uppercase;
}
.grid2,
.grid3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.grid3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.content-card {
  padding: 18px;
  transition: 0.17s;
  cursor: pointer;
}
.content-card:hover {
  background: var(--solid);
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--blue) 35%, var(--line));
}
.content-card h3 {
  margin: 0 0 3px;
  font-size: 16px;
}
.content-card p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
}
.project-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, #0877ff, #68befb);
  color: white;
  font:
    700 19px OswaldLocal,
    sans-serif;
  flex: none;
}
.badge {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
}
.tag {
  display: inline-block;
  padding: 3px 8px;
  margin: 3px 4px 0 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
}
.mini {
  font-size: 12px;
  color: var(--faint);
}
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  overflow: hidden;
  background: linear-gradient(135deg, #d7eaff, #7bb8ff);
  color: #0749aa;
  font-weight: 750;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.topic-cover {
  min-height: 118px;
  border-radius: 11px;
  margin-bottom: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: white;
  background: linear-gradient(120deg, #0b3b79, #116cbb 56%, #78c8f4);
  font:
    650 21px OswaldLocal,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
.topic-cover span {
  font:
    12px InterLocal,
    Arial,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.85;
}
.panel {
  padding: 20px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 19px;
}
.repo-head {
  padding: 23px;
  margin-bottom: 15px;
}
.repo-head .project-icon {
  width: 54px;
  height: 54px;
  font-size: 24px;
}
.tabs {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin: 0 0 16px;
}
.tabs button {
  white-space: nowrap;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 11px 13px;
  color: var(--muted);
}
.tabs button.active {
  border-color: var(--blue);
  color: var(--blue);
}
.file-table {
  width: 100%;
  border-collapse: collapse;
}
.file-table th,
.file-table td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.file-table th {
  font-size: 11px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.file-table tr:last-child td {
  border: 0;
}
.file-table tbody tr:hover {
  background: var(--solid);
}
.file-link {
  color: var(--blue);
  cursor: pointer;
}
.code-view {
  background: #0d1625;
  color: #e0edff;
  border-radius: 10px;
  padding: 18px;
  overflow: auto;
  white-space: pre;
  font:
    13px/1.8 Consolas,
    "Cascadia Code",
    monospace;
}
.markdown {
  overflow-wrap: anywhere;
}
.markdown h1,
.markdown h2,
.markdown h3 {
  font-family: OswaldLocal, "Arial Narrow", sans-serif;
}
.markdown h1 {
  font-size: 30px;
}
.markdown h2 {
  font-size: 23px;
  margin-top: 1.7em;
}
.markdown p {
  white-space: pre-wrap;
}
.post {
  padding: 17px;
  margin: 11px 0;
}
.post-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-num {
  margin-left: auto;
  color: var(--blue);
  font: 650 14px OswaldLocal;
}
.post-body {
  white-space: pre-wrap;
  margin: 13px 0;
  overflow-wrap: anywhere;
}
.pinned {
  border-left: 3px solid var(--blue);
}
.activity {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.activity:last-child {
  border: 0;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  margin: 7px 2px 0;
  flex: none;
}
.empty {
  padding: 42px 18px;
  text-align: center;
  color: var(--muted);
}
.empty b {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font: 650 21px OswaldLocal;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.field {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.field.wide {
  grid-column: 1/-1;
}
.field input,
.field textarea,
.field select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--solid);
  color: var(--text);
  outline: 0;
}
.field textarea {
  min-height: 105px;
  resize: vertical;
}
.inline-form {
  display: flex;
  gap: 8px;
}
.inline-form input {
  flex: 1;
}
.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 23px;
  margin-bottom: 17px;
}
.profile-hero .avatar {
  width: 72px;
  height: 72px;
  font-size: 23px;
}
.notification {
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.notification.unread {
  background: color-mix(in srgb, var(--blue) 5%, transparent);
}
.suggestion {
  border-left: 3px solid var(--amber);
  padding: 12px 14px;
  margin: 10px 0;
  background: color-mix(in srgb, #f3a712 8%, var(--card));
  border-radius: 0 9px 9px 0;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 18px 24px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 12px;
}
.footer b {
  font: 750 14px OswaldLocal;
  color: var(--blue);
  letter-spacing: 0.06em;
}
.dialog {
  width: min(560px, calc(100% - 28px));
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--bg);
  color: var(--text);
  padding: 24px;
  box-shadow: 0 24px 70px #07132855;
}
.dialog::backdrop {
  background: #07132877;
  backdrop-filter: blur(2px);
}
.dialog h2 {
  margin: 0 0 16px;
  font: 650 25px OswaldLocal;
  text-transform: uppercase;
}
.dialog-close {
  float: right;
  border: 0;
  background: none;
  font-size: 25px;
  color: var(--faint);
}
.toast {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 30;
  max-width: min(440px, calc(100% - 44px));
  padding: 12px 16px;
  border-radius: 10px;
  background: #10213b;
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.2s;
}
.toast.show {
  opacity: 1;
  transform: none;
}
.hidden {
  display: none !important;
}
.danger-text {
  color: var(--red);
}
.success-text {
  color: var(--green);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 15px 0;
}
.callout {
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--blue) 4%, var(--card));
  color: var(--muted);
}
@media (max-width: 980px) {
  .topbar {
    gap: 15px;
  }
  .main-nav {
    gap: 13px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .topbar {
    height: auto;
    min-height: 61px;
    padding: 9px 14px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 22px;
  }
  .main-nav {
    order: 3;
    width: 100%;
    overflow: auto;
    gap: 19px;
  }
  .main-nav a {
    padding: 6px 0 9px;
  }
  .search {
    order: 4;
    max-width: none;
    flex-basis: 100%;
  }
  .top-actions {
    margin-left: auto;
  }
  .top-actions .icon-btn {
    padding: 6px 9px;
  }
  .shell {
    padding: 19px 13px 48px;
  }
  .hero {
    padding: 24px 20px;
  }
  .stats {
    gap: 19px;
  }
  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.wide {
    grid-column: auto;
  }
  .profile-hero {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .profile-hero .profile-info {
    flex: 1;
    min-width: 160px;
  }
  .file-table th:nth-child(2),
  .file-table td:nth-child(2) {
    display: none;
  }
  .display {
    font-size: 34px;
  }
  .panel {
    padding: 15px;
  }
}
.admin-tabs {
  margin: 18px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.admin-tabs .btn {
  white-space: nowrap;
}
.admin-tabs ~ .section {
  margin-top: 18px;
}
.activity .split {
  gap: 14px;
}
.activity select {
  max-width: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--solid);
  color: var(--text);
  padding: 7px 9px;
}
.activity {
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  .admin-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 14px;
  }
  .admin-tabs .btn {
    flex: none;
  }
  .activity > .split {
    align-items: flex-start;
  }
  .activity .row {
    gap: 6px;
  }
}
.sort-controls {
  margin: 12px 0 20px;
}
.sort-controls label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.sort-controls select,
.activity select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--solid);
  color: var(--text);
  padding: 8px 11px;
}
.content-image {
  display: block;
  max-width: min(100%, 760px);
  max-height: 650px;
  object-fit: contain;
  margin: 12px auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.image-upload {
  position: relative;
  cursor: pointer;
}
.image-upload input {
  max-width: 180px;
}
.beta-version {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.post-body.markdown {
  overflow-wrap: anywhere;
}

.properi-link {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.properi-link:hover {
  text-decoration: underline;
}

/* GitRox mobile, moderation and forum improvements */
.report-resolved {
  opacity: 0.48;
  transition: opacity 0.2s;
}
.report-resolved:hover {
  opacity: 0.78;
}
.forum-module {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--blue) 4%, var(--card));
  margin: 12px 0;
  overflow: hidden;
}
.forum-module > summary {
  cursor: pointer;
  padding: 11px 14px;
  color: var(--blue);
  font-weight: 700;
  touch-action: manipulation;
}
.forum-module-body {
  padding: 8px 14px 14px;
  border-top: 1px solid var(--line);
}
.attachment-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  margin: 4px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--solid);
  color: var(--blue);
  font-weight: 650;
}
.push-settings {
  margin: 0 0 16px;
}
.avatar-crop-panel {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.avatar-crop-canvas {
  width: min(240px, 70vw);
  height: auto;
  aspect-ratio: 1;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--solid);
  cursor: grab;
  touch-action: none;
}
.avatar-crop-canvas:active {
  cursor: grabbing;
}
.avatar-crop-panel input[type="range"] {
  width: min(320px, 100%);
}
@media (max-width: 720px) {
  .post .row,
  .push-settings .row {
    align-items: stretch;
  }
  .post .row .btn,
  .push-settings .row .btn {
    min-height: 42px;
  }
  .form-grid[data-form="topic-post"],
  form[data-form="project-comment"] {
    gap: 14px;
  }
  .form-grid[data-form="topic-post"] textarea,
  form[data-form="project-comment"] textarea {
    font-size: 16px;
    min-height: 130px;
  }
  .report-resolved {
    opacity: 0.54;
  }
}

/* Forum topic composer */
.composer { min-width: 0; }
.composer > span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.composer-tabs { display: flex; align-items: center; gap: 6px; margin-top: 9px; border-bottom: 1px solid var(--line); }
.composer-tab { border: 0; border-bottom: 2px solid transparent; padding: 8px 12px; background: transparent; color: var(--muted); cursor: pointer; font: inherit; }
.composer-tab.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }
.composer-hint { margin-left: auto; color: var(--muted); font-size: 11px; }
.composer-toolbar { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px; border: 1px solid var(--line); border-top: 0; background: var(--surface, var(--solid)); }
.composer-toolbar button { min-width: 34px; min-height: 34px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--solid); color: var(--text); cursor: pointer; }
.composer-toolbar button:hover { border-color: var(--blue); color: var(--blue); }
.composer textarea { min-height: 220px; margin-top: 0 !important; border-radius: 0 0 8px 8px !important; font: 14px/1.65 ui-monospace, Consolas, monospace; }
.composer-preview { min-height: 220px; max-height: 65vh; overflow: auto; padding: 15px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; background: var(--solid); color: var(--text); }
.composer-status { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-weight: 400; }
.forum-quote { margin: 12px 0; padding: 10px 14px; border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; background: color-mix(in srgb, var(--blue) 8%, var(--solid)); white-space: pre-wrap; }
.forum-quote cite { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 700; }
.forum-code { overflow: auto; margin: 10px 0; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: color-mix(in srgb, var(--text) 5%, var(--solid)); color: var(--text); white-space: pre; }
@media (max-width: 600px) {
  .composer-toolbar { gap: 4px; padding: 6px; }
  .composer-toolbar button { min-width: 32px; min-height: 36px; padding: 5px 7px; }
  .composer-hint { font-size: 10px; }
  .composer textarea, .composer-preview { min-height: 180px; }
}
.forum-center { text-align: center; }
.toolbar-color { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--solid); color: var(--text); cursor: pointer; font-size: 12px; font-weight: 650; }
.toolbar-color input[type=color] { width: 25px; height: 25px; padding: 0; border: 0; border-radius: 5px; background: transparent; cursor: pointer; }
.toolbar-color input[type=color]::-webkit-color-swatch-wrapper { padding: 1px; }
.toolbar-color input[type=color]::-webkit-color-swatch { border: 1px solid var(--line); border-radius: 4px; }
.import-paste { min-width: 0; }
.import-rich { min-height: 230px; max-height: 48vh; overflow: auto; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--solid); color: var(--text); font: 14px/1.65 InterLocal, "Segoe UI", sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.import-rich:focus { outline: 2px solid color-mix(in srgb, var(--blue) 32%, transparent); border-color: var(--blue); }
.import-rich:empty::before { content: attr(data-placeholder); color: var(--muted); pointer-events: none; }
.import-preview { max-height: 42vh; overflow: auto; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--solid); }
