/* ==========================================================================
   CAMBRIDGE IELTS ACADEMIC WRITING V2 STYLESHEET
   Authentic Computer-Delivered IELTS (CD-IELTS) & Inspera Assessment Design
   ========================================================================== */

:root {
  --navy: #0b2b52;
  --navy-dark: #071c35;
  --blue: #1565c9;
  --blue-light: #eff6ff;
  --red: #e0202d;
  --red-dark: #b5121d;
  --surface: #f8fafc;
  --muted: #64748b;
  --line: #e2e8f0;
  --header-height: 56px;
  --bottom-bar-height: 56px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--surface);
  font-family: 'Open Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   1. TOP V2 NAVBAR (MATCHED WITH READING & LISTENING V2 / INSPERA)
   ========================================================================== */
.cr-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1.5px solid var(--line);
  box-shadow: 0 2px 10px rgba(11, 43, 82, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  flex-shrink: 0;
  z-index: 1000;
}

.cr-nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
  z-index: 2;
}

.cr-brand-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.cr-brand-badge {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 2px 4px;
  border-radius: 6px;
}

.cr-brand-img {
  height: 34px;
  width: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  display: block;
}

.cr-nav-divider {
  width: 1.5px;
  height: 22px;
  background: #cbd5e1;
  flex-shrink: 0;
}

.cr-test-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cr-test-taker-id-text {
  font-family: 'Segoe UI', -apple-system, sans-serif;
  font-weight: 700;
  color: #111827;
  font-size: 14px;
  white-space: nowrap;
  letter-spacing: -0.1px;
}

.cr-test-book-pill {
  background: var(--navy);
  color: #ffffff;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.80rem;
  padding: 2px 9px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cr-test-title-text {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.90rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.cr-nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  pointer-events: auto;
  z-index: 3;
}
@media (max-width: 1280px) {
  .cr-nav-center {
    position: static;
    transform: none;
    margin: 0 8px;
  }
  .cr-test-taker-id-text {
    display: none;
  }
}

.cr-reading-badge {
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid rgba(21, 101, 201, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(11, 43, 82, 0.04);
}

.cr-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  z-index: 2;
}

.cr-timer-pill {
  background: #ffffff;
  border: 1.5px solid var(--line);
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 5px 12px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.cr-icon-btn {
  background: #ffffff;
  border: 1.5px solid var(--line);
  color: #374151;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 1rem;
  padding: 0;
  position: relative;
}

.cr-icon-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #111827;
}

.cr-icon-btn.active {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e46bf;
}

.cr-btn-finish {
  background: var(--red);
  color: #ffffff;
  border: none;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.cr-btn-finish:hover {
  background: var(--red-dark);
  color: #ffffff;
}

/* ==========================================================================
   2. MAIN WRITING TEST CONTAINER & SPLIT SCREEN
   ========================================================================== */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 18px calc(var(--bottom-bar-height) + 18px);
  gap: 12px;
  max-width: 100vw;
  box-sizing: border-box;
}

.cw-part {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

/* Official CD-IELTS Instruction Header Box (Gray Banner) */
.cw-instruction-box {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 18px;
  flex-shrink: 0;
}

.cw-instruction-title {
  font-family: 'Segoe UI', -apple-system, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.cw-instruction-desc {
  font-family: inherit;
  font-size: 13.5px;
  color: #374151;
  margin: 0;
  line-height: 1.5;
}

/* Draggable Split Screen Layout */
.cw-split-container {
  display: flex;
  flex-direction: row;
  height: calc(100vh - 255px);
  min-height: 420px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(11, 43, 82, 0.04);
}

.cw-prompt-col {
  width: calc(50% - 5px);
  min-width: 280px;
  max-width: 78%;
  overflow-y: auto;
  padding: 24px;
  background: #ffffff;
  font-size: 15px;
  line-height: 1.7;
  color: #111827;
  box-sizing: border-box;
  user-select: text;
}

.cw-prompt-col .question-prompt {
  white-space: pre-line;
  word-break: break-word;
}

.cw-split-resizer {
  width: 10px;
  background: #f8fafc;
  cursor: col-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  transition: background 0.15s ease;
  user-select: none;
  flex-shrink: 0;
  z-index: 10;
}

.cw-split-resizer:hover, .cw-split-resizer.active {
  background: #cbd5e1;
}

.cr-split-handle {
  width: 22px;
  height: 28px;
  background: #ffffff;
  border: 1.5px solid #94a3b8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #475569;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.cw-write-col {
  width: calc(50% - 5px);
  min-width: 280px;
  max-width: 78%;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 12px;
  background: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

.cw-write-col .write-input {
  flex: 1;
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  padding: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #111827;
  outline: none;
  resize: none;
  font-family: 'Open Sans', 'Segoe UI', -apple-system, sans-serif;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.cw-write-col .write-input:focus {
  border-color: #1e46bf;
  box-shadow: 0 0 0 2.5px rgba(30, 70, 191, 0.15);
}

.cw-word-counter {
  text-align: right;
  padding-bottom: 8px;
  padding-top: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #4b5563;
  user-select: none;
  flex-shrink: 0;
}

/* ==========================================================================
   3. FLOATING NAVIGATION ARROWS (OFFICIAL INSPERA STYLE)
   ========================================================================== */
.footer-nav-floating-group {
  position: fixed;
  right: 28px;
  bottom: 70px;
  z-index: 995;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.footer-nav-floating-group .cl-arrow-btn {
  width: 48px;
  height: 42px;
  border: none;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  padding: 0;
  background: #262626;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

.footer-nav-floating-group .cl-arrow-btn svg {
  display: block;
}

.footer-nav-floating-group .cl-arrow-btn:hover:not(:disabled):not(.disabled) {
  background: #404040;
}

.footer-nav-floating-group .cl-arrow-btn:active:not(:disabled):not(.disabled) {
  transform: scale(0.96);
}

.footer-nav-floating-group .cl-arrow-btn.disabled,
.footer-nav-floating-group .cl-arrow-btn:disabled {
  background: #d6d6d6 !important;
  color: #ffffff !important;
  cursor: not-allowed !important;
  pointer-events: none;
  box-shadow: none;
}

/* ==========================================================================
   4. BOTTOM PART NAVIGATION BAR (AUTHENTIC INSPERA CD-IELTS)
   ========================================================================== */
.cw-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-bar-height);
  background: #ffffff;
  border-top: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  z-index: 990;
  user-select: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.cl-bottom-nav-container,
.cw-bottom-nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.cl-bottom-nav-container::-webkit-scrollbar,
.cw-bottom-nav-center::-webkit-scrollbar {
  display: none;
}

.cl-part-cards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.cl-part-card {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  border-bottom: 3px solid transparent;
}

.cl-part-card:hover {
  background: #f8fafc;
}

.cl-part-card.active {
  border-bottom-color: #1e46bf;
  background: #f1f5f9;
}

.cl-part-card-title {
  font-family: 'Segoe UI', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #111827;
}

.cl-part-card-summary {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 500;
}

.cl-part-card.active .cl-part-card-title {
  color: #1e46bf;
}

.cl-part-card.active .cl-part-card-summary {
  color: #3b82f6;
  font-weight: 600;
}

/* ==========================================================================
   5. USER TEXT HIGHLIGHTING & ANNOTATIONS (OFFICIAL INSPERA / CD-IELTS)
   ========================================================================== */
.cr-user-hl,
.cr-user-highlight {
  background-color: #7d4a5a !important;
  color: #ffffff !important;
  border-radius: 2px;
  padding: 1px 2px;
  cursor: pointer;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-color 0.15s ease;
  user-select: text;
}

.cr-user-hl:hover,
.cr-user-highlight:hover {
  background-color: #744454 !important;
}

/* User Note Highlight in Prompt (Exact Vibrant Cobalt Blue #1e46bf) */
.cr-user-note-hl {
  background-color: #1e46bf !important;
  color: #ffffff !important;
  border-radius: 2px;
  padding: 1px 2px;
  cursor: pointer;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-color 0.15s ease, outline 0.15s ease;
  user-select: text;
}

.cr-user-note-hl:hover {
  background-color: #193aa0 !important;
}

.cr-user-note-hl.active-focus {
  outline: 2.5px solid #60a5fa !important;
}

/* ==========================================================================
   6. OFFICIAL INSPERA / CD-IELTS NOTES SIDEBAR (SLIDE-IN FROM RIGHT)
   ========================================================================== */
.cl-notes-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 310px;
  max-width: 90vw;
  height: 100vh;
  background: #e8e8e8;
  z-index: 10020;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.22);
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  box-sizing: border-box;
}

.cl-notes-sidebar.open {
  transform: translateX(0);
}

.cl-notes-sidebar-header {
  height: 50px;
  min-height: 50px;
  background: #ffffff;
  border-bottom: 1px solid #d4d8de;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  user-select: none;
}

.cl-notes-sidebar-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.2px;
}

.cl-notes-sidebar-close {
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.cl-notes-sidebar-close:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.cl-notes-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

/* Empty State in Sidebar */
.cl-notes-empty {
  text-align: center;
  color: #64748b;
  padding: 48px 16px;
  user-select: none;
}
.cl-notes-empty p {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}
.cl-notes-empty span {
  font-size: 12px;
  line-height: 1.4;
  display: block;
}

/* Note Card in Sidebar (Exact Inspera Cobalt Blue #1e46bf) */
.cl-note-card {
  background: #1e46bf;
  border-radius: 4px;
  padding: 12px 14px 10px;
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: adderFadeIn 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cl-note-card.highlighted {
  box-shadow: 0 0 0 3px #60a5fa, 0 4px 12px rgba(30, 70, 191, 0.35);
  transform: scale(1.02);
}

.cl-note-card-header {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.1px;
}

.cl-note-card-input {
  width: 100%;
  min-height: 58px;
  background: #ffffff;
  color: #111827;
  border: none;
  border-radius: 3px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
}

.cl-note-card-input::placeholder {
  color: #94a3b8;
}

.cl-note-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cl-note-card-del-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}

.cl-note-card-del-btn:hover {
  opacity: 1;
}

/* Notes Badge on Top Bar Notes Button */
.cl-notes-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: #1e46bf;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  display: none;
}
.cl-notes-badge.has-notes {
  display: block;
}

/* Sidebar Backdrop overlay on mobile */
.cl-notes-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10018;
}

/* ==========================================================================
   7. OFFICIAL INSPERA ANNOTATOR ADDER TOOLTIP
   ========================================================================== */
.annotator-adder {
  position: fixed;
  z-index: 10005;
  background: #ffffff;
  border: 1px solid #737373;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  animation: adderFadeIn 0.1s ease-out;
}

@keyframes adderFadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.annotator-adder--arrow-up::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(225deg);
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-right: 1px solid #737373;
  border-bottom: 1px solid #737373;
}

.annotator-adder--arrow-down::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-right: 1px solid #737373;
  border-bottom: 1px solid #737373;
}

.annotator-adder-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.annotator-adder-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #737373;
  padding: 8px 12px 6px;
  font-family: inherit;
  transition: color 80ms ease, background-color 80ms ease;
  border-radius: 3px;
}

.annotator-adder-btn:hover {
  color: #202020;
  background-color: rgba(0, 0, 0, 0.05);
}

.annotator-icon {
  display: block;
}

.annotator-label {
  font-size: 11px;
  line-height: 1.15;
  font-weight: 500;
  text-align: center;
}

.annotator-separator {
  width: 1px;
  margin: 6px 0;
  background-color: #a6a6a6;
}

.annotator-delete-btn {
  padding: 6px 14px 6px;
  min-width: 68px;
}
.annotator-delete-btn .annotator-label {
  font-size: 11px;
  line-height: 1.15;
}

/* ==========================================================================
   8. POPUPS, MODALS & DIALOGS
   ========================================================================== */
.popup-settings, .popup-note {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(11, 43, 82, 0.35);
  border-top: 4px solid var(--red);
  padding: 22px 26px;
  width: 90%;
  max-width: 480px;
  z-index: 99999;
}
.popup-settings.menu-visible, .popup-note.menu-visible {
  display: block !important;
}

.close-settings {
  background: var(--surface);
  color: var(--navy);
  border-radius: 6px;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  font-weight: 700;
}
.close-settings:hover {
  background: var(--red);
  color: #fff;
}

.listening-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 43, 82, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
.listening-popup {
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  max-width: 440px;
  text-align: center;
  border-top: 4px solid var(--red);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.listening-continue-btn, .submit-ok-button {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  padding: 8px 24px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.listening-continue-btn:hover, .submit-ok-button:hover {
  background: var(--red-dark);
}

.submit-stay-button {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 6px;
  font-weight: 700;
  padding: 8px 20px;
  cursor: pointer;
  margin-left: 8px;
}

/* Test Page Unlock Modal */
.ps-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 43, 82, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 250000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ps-modal-overlay.open {
  display: flex;
}
.ps-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  padding: 34px 28px;
  box-shadow: 0 24px 60px rgba(11, 43, 82, 0.28);
  border: 1.5px solid #dbeafe;
  animation: psPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes psPop {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.ps-close-btn {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.ps-close-btn:hover {
  background: #e2e8f0;
  transform: rotate(90deg);
}

/* ==========================================================================
   9. RESPONSIVE DESIGN (TABLETS & MOBILES)
   ========================================================================== */
@media (max-width: 992px) {
  .cr-nav-center {
    display: none;
  }
}

@media (max-width: 768px) {
  .cr-navbar {
    padding: 0 12px;
  }
  .cr-nav-left {
    gap: 8px;
  }
  .cr-brand-img {
    height: 28px;
  }
  .cr-nav-divider,
  .cr-test-title-text {
    display: none;
  }
  .cr-nav-right {
    gap: 5px;
  }
  .cr-timer-pill {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
  .cr-icon-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .cr-btn-finish {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .cw-split-container {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  .cw-prompt-col {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    padding: 16px;
  }
  .cw-split-resizer {
    display: none;
  }
  .cw-write-col {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    padding: 16px;
  }
  .cw-write-col .write-input {
    min-height: 320px;
    font-size: 16px;
  }
  .cw-bottom-bar {
    height: 48px;
    padding: 0 12px;
  }
  .footer-nav-floating-group {
    right: 14px;
    bottom: 56px;
  }
  .footer-nav-floating-group .cl-arrow-btn {
    width: 38px;
    height: 34px;
  }
}

@media (max-width: 560px) {
  .cr-test-identity,
  #fullscreenToggleBtn,
  #wifiBtn,
  #bellBtn {
    display: none;
  }
  .cr-brand-img {
    height: 26px;
  }
}
