:root {
  color-scheme: light;
  --bg: #f5f7f4;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --ink: #202422;
  --muted: #68716c;
  --line: #dfe5df;
  --accent: #08796b;
  --accent-dark: #075f55;
  --accent-soft: #dcefeb;
  --warn: #bd463d;
  --shadow: 0 18px 60px rgba(26, 42, 38, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(8, 121, 107, 0.14), rgba(242, 193, 78, 0.16)),
    var(--bg);
}

.auth-panel {
  display: grid;
  gap: 16px;
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.auth-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: #f2c14e;
  color: #102624;
  font-size: 32px;
  font-weight: 800;
}

.auth-panel h1,
.auth-panel p {
  margin: 0;
}

.auth-panel h1 {
  font-size: 30px;
  line-height: 1.1;
}

.auth-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.auth-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-panel input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
}

.auth-error {
  min-height: 20px;
  color: var(--warn);
  font-weight: 800;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.app-shell.is-locked {
  display: none;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: visible;
  padding: 18px 24px 24px;
  background: #113b38;
  color: #f7fffb;
}

.sidebar-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
}

.sidebar-actions .primary-btn {
  min-height: 38px;
  padding: 0 12px;
}

.sidebar-actions .utility-menu {
  min-width: 0;
}

.sidebar-actions .utility-menu-panel {
  left: 0;
  right: auto;
}

.dialog-head h2,
.dialog-head p {
  margin: 0;
}

.primary-btn,
.ghost-btn,
.danger-btn,
.icon-btn,
.tab {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 700;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
}

.primary-btn:hover {
  background: var(--accent-dark);
}

.primary-btn.is-saving {
  cursor: wait;
  opacity: 0.9;
}

.primary-btn.is-saving::before {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  content: "";
  animation: spin 0.7s linear infinite;
}

.save-status {
  min-height: 20px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-strong);
  border-color: var(--line);
  color: var(--ink);
  line-height: 1;
}

.danger-btn {
  background: #fff8f6;
  border-color: #ebc3bf;
  color: var(--warn);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  padding: 0;
  background: var(--panel-strong);
  border-color: var(--line);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

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

.search {
  display: grid;
  gap: 8px;
  color: #d4e6e2;
  font-size: 13px;
  font-weight: 700;
}

.search input {
  width: 100%;
  height: 42px;
  border: 1px solid #2d625d;
  border-radius: 8px;
  padding: 0 12px;
  background: #0b2d2a;
  color: #f7fffb;
}

.song-list {
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.song-list-loader {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid rgba(247, 255, 251, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(247, 255, 251, 0.07);
  color: #d4e6e2;
  font-weight: 800;
}

.song-list-loader span {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(212, 230, 226, 0.35);
  border-top-color: #f2c14e;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.song-card {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(247, 255, 251, 0.16);
  border-radius: 8px;
  padding: 12px;
  background: rgba(247, 255, 251, 0.07);
  color: #f7fffb;
  text-align: left;
}

.song-card.active {
  border-color: #f2c14e;
  background: rgba(242, 193, 78, 0.2);
}

.song-card strong,
.song-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-card span {
  margin-top: 4px;
  color: #bcd7d1;
  font-size: 13px;
}

.workspace {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 18px clamp(16px, 3vw, 34px) 24px;
}

.all-songs-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin-bottom: 12px;
}

.song-actions,
.transpose-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sync-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 8px;
  padding: 0 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.import-btn {
  display: inline-flex;
  align-items: center;
}

.import-btn input {
  display: none;
}

.utility-menu {
  position: relative;
}

.utility-menu summary {
  list-style: none;
}

.utility-menu > summary.icon-btn {
  display: inline-grid;
}

.utility-menu summary::-webkit-details-marker {
  display: none;
}

.utility-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 15;
  display: grid;
  gap: 8px;
  width: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.utility-menu-panel .ghost-btn {
  width: 100%;
  justify-content: center;
}

.utility-menu-panel .sync-status {
  width: 100%;
  min-height: 34px;
  font-size: 12px;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 120px);
  text-align: center;
}

.empty-state > div {
  max-width: 560px;
}

.empty-kicker {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.empty-state h2 {
  margin: 12px 0;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1;
}

.empty-state p {
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.editor-view {
  display: grid;
  gap: 12px;
}

.editor-view[data-mode="edit"] .page-topline,
.editor-view:not([data-mode="edit"]) .edit-title-panel {
  display: none;
}

.editor-view[data-mode="edit"] .transpose-panel {
  display: none;
}

.hidden {
  display: none !important;
}

.song-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
}

.page-topline {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
}

.page-song-head {
  display: grid;
  flex: 0 1 auto;
  gap: 4px;
  min-width: 0;
}

.page-song-head strong {
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-song-head span {
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.title-fields {
  display: grid;
  gap: 8px;
  width: min(760px, 100%);
}

.title-input,
.artist-input,
.settings-dialog input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  color: var(--ink);
}

.title-input {
  min-height: 58px;
  padding: 0 16px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
}

.artist-input {
  min-height: 42px;
  padding: 0 14px;
}

.song-actions {
  justify-content: flex-end;
}

.song-actions .primary-btn,
.song-actions .danger-btn {
  min-height: 34px;
  padding: 0 11px;
  font-size: 13px;
}

.song-toolbar,
.edit-title-panel,
.chord-generator,
.transpose-panel,
.format-help,
.mode-tabs,
.preview-panel,
.edit-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.edit-title-panel {
  padding: 14px;
  box-shadow: none;
}

.chord-generator {
  display: grid;
  gap: 14px;
  max-width: 560px;
  padding: 16px;
  box-shadow: none;
}

.generator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.generator-head span,
.generator-input span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.generator-head h2 {
  margin: 3px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.generator-instruments {
  display: inline-flex;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
}

.generator-instruments .instrument-btn.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.generator-input {
  display: grid;
  gap: 8px;
}

.generator-input input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--panel-strong);
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}

.generator-diagram {
  width: min(420px, 100%);
}

.generator-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.chord-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.smart-chord-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 38px;
  align-items: center;
}

.smart-sequence-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.smart-sequence-chip {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  min-height: 34px;
  border: 1px solid #9bd2c6;
  border-radius: 8px;
  background: #dcefeb;
  color: var(--accent-dark);
  font-weight: 900;
}

.smart-sequence-text,
.smart-sequence-remove {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.smart-sequence-text {
  min-height: 32px;
  padding: 0 10px 0 12px;
}

.smart-sequence-remove {
  display: inline-grid;
  place-items: center;
  width: 30px;
  min-height: 32px;
  border-left: 1px solid rgba(7, 95, 85, 0.18);
  font-size: 18px;
  line-height: 1;
}

.smart-sequence-text:hover,
.smart-sequence-remove:hover,
.smart-sequence-text:focus-visible,
.smart-sequence-remove:focus-visible {
  background: rgba(8, 121, 107, 0.12);
  outline: none;
}

.suggestion-chip {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fbfcfa;
  color: var(--ink);
  font-weight: 800;
}

.suggestion-chip:hover,
.suggestion-chip:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}

.smart-suggestions {
  display: grid;
  gap: 12px;
}

.smart-group {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfa;
}

.smart-group h3 {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.song-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  padding: 4px;
  box-shadow: none;
}

.transpose-panel {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  padding: 9px 10px;
  box-shadow: none;
}

.transpose-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.transpose-panel strong {
  font-size: 16px;
}

.transpose-actions {
  gap: 6px;
}

.transpose-actions .ghost-btn,
.transpose-actions .icon-btn {
  min-height: 34px;
}

.transpose-actions .icon-btn {
  width: 34px;
}

.mode-tabs {
  flex: 0 1 auto;
  display: inline-flex;
  width: max-content;
  padding: 4px;
  box-shadow: none;
}

.preview-panel-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
  background: #fbfcfa;
}

.preview-meta {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.preview-meta strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-meta span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-tools {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: var(--panel);
}

.preview-tools span {
  padding: 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.preview-tools strong {
  min-width: 28px;
  text-align: center;
  font-size: 14px;
}

.preview-tools .icon-btn {
  flex: 0 0 34px;
  width: 34px;
  min-height: 34px;
}

.preview-tools .action-icon {
  font-size: 17px;
}

.preview-tools .action-icon.is-done {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.preview-tools .instrument-btn.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.preview-tools .tool-divider {
  flex: 0 0 1px;
  width: 1px;
  height: 22px;
  margin: 0 2px;
  padding: 0;
  background: var(--line);
}

.tab {
  background: transparent;
  color: var(--muted);
}

.tab.active {
  background: var(--ink);
  color: #ffffff;
}

.edit-panel,
.preview-panel {
  overflow: hidden;
}

.format-help {
  display: inline-block;
  margin: 10px 14px 0;
  padding: 0;
  background: #fff8e4;
  color: #4f5b55;
  box-shadow: none;
  line-height: 1.55;
}

.format-help details {
  position: relative;
}

.format-help-toggle {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e6d49a;
  border-radius: 8px;
  background: #fff8e4;
  color: #725000;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.format-help-toggle::-webkit-details-marker {
  display: none;
}

.format-help-content {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 12;
  width: min(520px, calc(100vw - 56px));
  border: 1px solid #e6d49a;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff8e4;
  box-shadow: var(--shadow);
}

.ocr-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 14px 0;
}

.ocr-upload-btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.ocr-upload-btn input {
  display: none;
}

.ocr-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.ocr-status.is-error {
  color: var(--warn);
}

.ocr-status.is-ok {
  color: var(--accent-dark);
}

code,
pre,
textarea,
.song-preview {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

textarea {
  display: block;
  width: 100%;
  min-height: 56vh;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 18px;
  resize: vertical;
  background: #ffffff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  outline: none;
}

.song-preview {
  min-height: 56vh;
  padding: 16px 20px 20px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  font-size: var(--preview-font-size, 14px);
  line-height: 1.06;
}

.song-line {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  row-gap: 2px;
  min-height: calc(var(--preview-font-size, 14px) * 2.25);
  margin-bottom: 4px;
  white-space: normal;
}

.song-line-empty {
  min-height: calc(var(--preview-font-size, 14px) * 0.85);
  margin-bottom: 2px;
}

.lyric-word,
.lyric-word-group {
  display: inline-flex;
  justify-content: flex-end;
  max-width: 100%;
  min-height: calc(var(--preview-font-size, 14px) * 2.1);
  margin-right: 0.55ch;
  vertical-align: bottom;
}

.lyric-word,
.lyric-segment {
  flex-direction: column;
  min-width: 0;
}

.lyric-word-group {
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
}

.lyric-segment {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 100%;
  min-width: 0;
}

.chord {
  min-height: 18px;
  color: #c85d2c;
  font-weight: 800;
  font-size: calc(var(--preview-font-size, 14px) * 0.95);
}

.chord-button {
  align-self: flex-start;
  border: 0;
  border-radius: 6px;
  padding: 0 3px;
  background: transparent;
  line-height: 1.15;
}

.chord-button:hover,
.chord-button:focus-visible {
  background: #fff0d1;
  outline: none;
}

.word {
  max-width: 100%;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}

.chord-popup {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 20;
  display: grid;
  gap: 12px;
  width: min(320px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.chord-popup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chord-popup-head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chord-popup-head strong {
  display: block;
  margin-top: 2px;
  font-size: 26px;
}

.chord-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

.chord-diagram .piano-diagram {
  margin-top: 4px;
}

.chord-popup p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.settings-dialog {
  width: min(720px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.settings-dialog::backdrop {
  background: rgba(0, 0, 0, 0.42);
}

.settings-dialog form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.dialog-head,
.dialog-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dialog-head p {
  margin-top: 6px;
  color: var(--muted);
}

.settings-dialog label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.settings-dialog input {
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 500;
}

.sql-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.sql-box pre {
  max-height: 240px;
  overflow: auto;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #172320;
  color: #f6f2e8;
  font-size: 12px;
  font-weight: 400;
}

@media (max-width: 860px) {
  .app-shell {
    grid-template-columns: 1fr;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .sidebar {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
  }

  .sidebar-actions .utility-menu-panel {
    left: auto;
    right: 0;
    width: min(190px, calc(100vw - 48px));
  }

  .song-list {
    max-height: none;
  }

  .workspace {
    min-height: 0;
    overflow-y: auto;
    padding-top: 16px;
  }

  .all-songs-btn {
    display: inline-flex;
  }

  .app-shell.is-mobile-song-open .sidebar {
    display: none;
  }

  .app-shell.is-mobile-list-open .workspace {
    display: none;
  }

  .app-shell.is-loading-songs .sidebar {
    display: flex;
  }

  .app-shell.is-loading-songs .workspace {
    display: none;
  }

  .song-head {
    align-items: stretch;
    flex-direction: column;
  }

  .page-topline {
    align-items: flex-start;
  }

  .song-actions,
  .transpose-actions {
    width: 100%;
  }

  .song-actions > *,
  .transpose-actions > * {
    flex: 1 1 auto;
  }

  .page-song-head {
    flex: 1 1 auto;
  }

  .page-song-head strong,
  .page-song-head span {
    white-space: normal;
  }

  .preview-panel-head {
    align-items: stretch;
    flex-direction: column;
    justify-content: stretch;
  }

  .song-preview {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .sidebar,
  .workspace {
    padding: 14px;
  }

  .song-toolbar {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .mode-tabs,
  .transpose-panel {
    width: 100%;
  }

  .tab {
    flex: 1 1 auto;
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  body {
    background: #ffffff;
  }

  .auth-screen,
  .sidebar,
  .utility-menu,
  .song-toolbar,
  .preview-panel-head,
  .edit-panel,
  .chord-popup,
  .empty-state {
    display: none !important;
  }

  .app-shell,
  .workspace,
  .editor-view,
  .preview-panel {
    display: block !important;
    min-height: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: #ffffff;
  }

  .page-topline {
    display: block;
    margin-bottom: 10mm;
  }

  .page-song-head strong,
  .page-song-head span {
    white-space: normal;
  }

  .song-preview {
    min-height: auto;
    overflow: visible;
    padding: 0;
    font-size: var(--preview-font-size, 14px);
  }
}
