/* ─────────────── BanglaKey App Styles ─────────────── */

/* ─────────────── Suggestion Dropdown ─────────────── */
.banglakey-suggestions {
    position: fixed;
    z-index: 9999;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    max-width: 260px;
    max-height: 240px;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
}

.banglakey-suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.1s ease;
}

.banglakey-suggestion-item:last-child {
    border-bottom: none;
}

.banglakey-suggestion-item:hover {
    background: var(--surface-2);
}

.banglakey-suggestion-item.selected {
    background: var(--accent-bg);
}

.banglakey-suggestion-item.preferred {
    border-left: 2px solid var(--accent);
}

.banglakey-suggestion-item .sug-bangla {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banglakey-suggestion-item .sug-phonetic {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: var(--text-3);
    background: var(--surface-2);
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 8px;
    flex-shrink: 0;
}

.banglakey-suggestion-item .sug-meaning {
    font-size: 9px;
    color: var(--text-3);
    margin-left: 6px;
}

.banglakey-suggestion-item.selected .sug-bangla {
    color: var(--accent-text);
}

.banglakey-suggestion-item.selected .sug-phonetic {
    background: var(--accent);
    color: white;
}

/* Themed scrollbar for suggestions */
.banglakey-suggestions::-webkit-scrollbar {
    width: 5px;
}

.banglakey-suggestions::-webkit-scrollbar-track {
    background: var(--surface-2);
    border-radius: 0 8px 8px 0;
}

.banglakey-suggestions::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 3px;
}

.banglakey-suggestions::-webkit-scrollbar-thumb:hover {
    background: var(--text-3);
}

/* SutonnyMJ font for Bijoy encoding */
@font-face {
    font-family: 'SutonnyMJ';
    src: url('../fonts/SutonnyMJ.woff2') format('woff2'),
         url('../fonts/SutonnyMJ.woff') format('woff'),
         url('../fonts/SutonnyMJ.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* App shell for editor pages */
.app {
  height: 100vh;
  display: grid;
  grid-template-rows: 56px 1fr 32px;
}

.app.no-status {
  grid-template-rows: 56px 1fr;
}

/* ─────────────── Header ─────────────── */
header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  display: grid; place-items: center;
  color: white;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, var(--shadow-sm);
}
.brand-name {
  color: var(--text);
}
.brand-name b { font-weight: 600; }
.brand-name span { color: var(--text-3); font-weight: 400; margin-left: 6px; }

nav.primary {
  display: flex; gap: 2px;
  margin-left: 28px;
}
nav.primary a {
  padding: 8px 12px;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  font-size: 13.5px;
}
nav.primary a:hover { color: var(--text); background: var(--surface-2); }
nav.primary a.active { color: var(--accent-text); background: var(--accent-bg); }

.header-left { display: flex; align-items: center; }
.header-right { display: flex; align-items: center; gap: 8px; }

/* ─────────────── Main grid ─────────────── */
main.grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  overflow: hidden;
  background: var(--bg);
}

/* ─────────────── Editor column ─────────────── */
.editor-col {
  display: flex; flex-direction: column;
  min-width: 0;
  padding: 18px 18px 18px 24px;
  gap: 14px;
  overflow: hidden;
}

/* Tabs */
.tabs {
  display: flex; align-items: flex-end;
  gap: 2px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  margin-bottom: -14px;
}
.tab {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px 10px;
  border-radius: 8px 8px 0 0;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  position: relative;
  top: 1px;
  max-width: 200px;
}
.tab .tab-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tab .tab-close {
  width: 16px; height: 16px;
  border-radius: 4px;
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity .15s, background .15s;
}
.tab:hover .tab-close { opacity: .7; }
.tab .tab-close:hover { background: var(--surface-2); opacity: 1; }
.tab.active {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  font-weight: 500;
}
.tab.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}
.tab-add {
  width: 30px; height: 32px;
  display: grid; place-items: center;
  color: var(--text-3);
  cursor: pointer;
  border-radius: 6px;
  margin-left: 4px;
}
.tab-add:hover { background: var(--surface-2); color: var(--text); }
.tab-add svg { width: 14px; height: 14px; }
.tab-dot {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 9px;
  font-weight: 600;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: 'Noto Sans Bengali', sans-serif;
}
.tab.active .tab-dot { background: var(--accent-bg); color: var(--accent-text); }

/* Editor surface */
.editor-surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

/* Toolbar */
.toolbar {
  display: flex; align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  gap: 4px;
  flex-wrap: wrap;
}
.tb-group {
  display: flex; align-items: center; gap: 1px;
  padding: 0 6px;
  border-right: 1px solid var(--border);
}
.tb-group:last-child { border-right: none; }
.tb-btn {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: var(--text-2);
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
}
.tb-btn:hover { background: var(--surface-2); color: var(--text); }
.tb-btn.active { background: var(--accent-bg); color: var(--accent-text); }
.tb-btn svg { width: 15px; height: 15px; }
.tb-select {
  height: 30px;
  padding: 0 28px 0 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.tb-select:hover { background-color: var(--surface-2); }

/* Document area */
.doc-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Summernote overrides - remove nested editor look, stretch to fill panel */
.note-editor,
.note-editor.note-frame,
.note-editor.note-airframe {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.note-editor .note-toolbar,
.note-toolbar {
  display: none !important;
}
.note-editor .note-editing-area,
.note-editing-area {
  border: none !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.note-editor .note-editable,
.note-editable {
  background: transparent !important;
  border: none !important;
  padding: 8px !important;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
  min-height: 100%;
  outline: none !important;
  flex: 1 !important;
  height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}
.note-editor .note-editable:focus,
.note-editable:focus {
  outline: none !important;
  box-shadow: none !important;
}
.note-editor .note-statusbar,
.note-statusbar {
  display: none !important;
}
.note-editor .note-resizebar,
.note-resizebar {
  display: none !important;
}
.doc {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 19px;
  line-height: 1.85;
  color: var(--text);
}
.doc h1 {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.3;
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}
.doc p { margin: 0 0 18px; }
.doc .latin {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  border-left: 2px solid var(--border-strong);
  padding-left: 14px;
  margin: 0 0 24px;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 22px;
  background: var(--accent);
  vertical-align: -4px;
  animation: blink 1s steps(2) infinite;
  margin-left: 1px;
}
@keyframes blink { 50% { opacity: 0; } }
.typing-input {
  color: var(--accent-text);
  background: var(--accent-bg);
  padding: 1px 4px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 0.85em;
}

/* Autocomplete popup */
.ac-anchor {
  position: relative;
  display: inline-block;
}
.ac-popup {
  position: absolute;
  top: calc(100% + 8px);
  left: -2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  z-index: 5;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 14px;
}
.ac-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.ac-header .mono { color: var(--text); text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 500; }
.ac-list { padding: 4px 0; }
.ac-item {
  display: flex; align-items: center;
  padding: 7px 12px;
  gap: 10px;
  cursor: pointer;
}
.ac-item:hover { background: var(--surface-2); }
.ac-item.selected { background: var(--accent-bg); }
.ac-num {
  width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 10px;
  font-weight: 600;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ac-item.selected .ac-num {
  background: var(--accent);
  color: white;
}
.ac-bn {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 17px;
  color: var(--text);
  flex: 1;
}
.ac-meta {
  font-size: 11px;
  color: var(--text-3);
}
.ac-foot {
  padding: 6px 12px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 11px;
  display: flex;
  gap: 12px;
}

/* ─────────────── Right sidebar ─────────────── */
.side {
  background: var(--bg);
  border-left: 1px solid var(--border);
  overflow-y: auto;
  padding: 18px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  cursor: pointer;
  user-select: none;
}
.panel-head .ph-l {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}
.panel-head .ph-l svg { width: 14px; height: 14px; color: var(--text-3); }
.panel-head .chev {
  width: 18px; height: 18px;
  color: var(--text-3);
  transition: transform .2s;
}
.panel.collapsed .chev { transform: rotate(-90deg); }
.panel-body {
  padding: 4px 14px 14px;
  border-top: 1px solid var(--border);
}
.panel.collapsed .panel-body { display: none; }

/* Settings rows */
.sr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.sr:last-child { border-bottom: none; }
.sr-l { display: flex; flex-direction: column; gap: 2px; }
.sr-l .t { font-size: 13px; color: var(--text); font-weight: 500; }
.sr-l .d { font-size: 11.5px; color: var(--text-3); }

/* Switch */
.switch {
  position: relative;
  width: 32px; height: 18px;
  background: var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.switch::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  background: white;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(14px); }

/* Compound letters grid */
.cl-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding-top: 8px;
}
.cl {
  aspect-ratio: 1;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 7px;
  display: grid; place-items: center;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 17px;
  color: var(--text);
  cursor: pointer;
  transition: all .12s ease;
  position: relative;
}
.cl:hover {
  background: var(--accent-bg);
  color: var(--accent-text);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.cl-tip {
  position: absolute;
  bottom: calc(100% + 4px); left: 50%;
  transform: translateX(-50%);
  background: var(--slate-900);
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
  z-index: 5;
}
.cl:hover .cl-tip { opacity: 1; }

/* Keyboard reference */
.kr-section {
  padding-top: 10px;
}
.kr-section:first-child { padding-top: 4px; }
.kr-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 6px;
}
.kr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 12px;
}
.kr-row {
  display: flex; align-items: center;
  gap: 6px;
  padding: 3px 0;
  font-size: 12px;
}
.kr-row .lat {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-2);
  min-width: 28px;
  font-size: 11.5px;
}
.kr-row .arrow {
  color: var(--text-3);
  font-size: 10px;
}
.kr-row .bn {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 14px;
  color: var(--text);
}

/* ─────────────── Status bar ─────────────── */
.status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text-2);
  font-family: 'Inter', sans-serif;
}
.status .l, .status .r { display: flex; align-items: center; gap: 16px; }
.status .item { display: flex; align-items: center; gap: 5px; }
.status .item b { color: var(--text); font-weight: 600; }
.status .dot {
  width: 6px; height: 6px;
  background: var(--emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--accent-bg);
}

/* Scrollbars */
.doc-wrap::-webkit-scrollbar, .side::-webkit-scrollbar { width: 8px; }
.doc-wrap::-webkit-scrollbar-track, .side::-webkit-scrollbar-track { background: transparent; }
.doc-wrap::-webkit-scrollbar-thumb, .side::-webkit-scrollbar-thumb {
  background: var(--border-strong); border-radius: 4px;
}
.doc-wrap::-webkit-scrollbar-thumb:hover, .side::-webkit-scrollbar-thumb:hover {
  background: var(--text-3);
}

/* ─────────────── Converter Page ─────────────── */
.converter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}
.converter-title {
  text-align: center;
  margin-bottom: 32px;
}
.converter-title h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
}
.converter-title p {
  color: var(--text-2);
  font-size: 15px;
}
.converter-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: start;
}
.converter-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.converter-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.converter-box-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.converter-textarea {
  width: 100%;
  min-height: 300px;
  padding: 16px;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  resize: vertical;
  outline: none;
}
.converter-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
}
.swap-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
  transition: transform .2s;
  align-self: center;
}
.swap-btn:hover { transform: scale(1.1); }
.swap-btn svg { width: 20px; height: 20px; }

/* ─────────────── Help Page ─────────────── */
.help-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
}
.help-container h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
}
.help-container .subtitle {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 32px;
}
.help-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.help-section h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.help-section h2 svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.example-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-radius: 8px;
}
.example-item .latin {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-2);
  font-size: 14px;
}
.example-item .arrow {
  color: var(--text-3);
}
.example-item .bangla {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 18px;
  color: var(--text);
}
.shortcut-table {
  width: 100%;
  border-collapse: collapse;
}
.shortcut-table th,
.shortcut-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.shortcut-table th {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

/* ─────────────── About Page ─────────────── */
.about-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}
.about-container h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.about-container .tagline {
  font-size: 20px;
  color: var(--text-2);
  margin-bottom: 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: left;
  margin-bottom: 48px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.feature-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.feature-card .icon svg {
  width: 20px;
  height: 20px;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}
.feature-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ─────────────── Blazor Error UI ─────────────── */
#blazor-error-ui {
  background: var(--red-50, #FEF2F2);
  bottom: 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  display: none;
  left: 0;
  padding: 12px 20px;
  position: fixed;
  right: 0;
  z-index: 1000;
  color: #B91C1C;
  font-size: 14px;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 12px;
}

#blazor-error-ui .reload {
  color: var(--accent);
  margin-left: 8px;
}

/* ─────────────── Responsive ─────────────── */
@media (max-width: 1024px) {
  main.grid {
    grid-template-columns: 1fr;
  }
  .side {
    display: none;
  }
  .doc-wrap {
    padding: 32px 24px 60px;
  }
}

@media (max-width: 768px) {
  .header-left nav.primary {
    display: none;
  }
  .header-right .btn-outline {
    display: none;
  }
  .converter-grid {
    grid-template-columns: 1fr;
  }
  .swap-btn {
    transform: rotate(90deg);
  }
}
