/* ==========================================================================
   Jupdo Desk — Thiết kế giao diện thân thiện chuẩn Google Stitch (M3 Civic)
   & Chuẩn Mobile-First Hệ sinh thái Jupdo (GEMINI.md) + Khổ A4 Nghị định 30
   ========================================================================== */

:root {
  --bg-canvas: #f5f7fb;
  --bg-surface: #ffffff;
  --bg-subtle: #eef2f9;
  --bg-hover: #e5ecf8;
  --primary: #1a4fd6;
  --primary-dark: #143ea8;
  --primary-soft: #e8efff;
  --accent-gold: #b45309;
  --accent-gold-soft: #fef3c7;
  --success: #047857;
  --success-soft: #d1fae5;
  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #dbe3ef;
  --border-strong: #cbd5e1;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-paper: 0 12px 36px rgba(15, 23, 42, 0.14);
  --sidebar-w: 264px;
  --topbar-h: 56px;
  --bottombar-h: 64px;
  --font-ui: 'Be Vietnam Pro', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-nd30: 'Times New Roman', Times, Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Boot Loader */
.boot-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 92vh;
  gap: 14px;
  color: var(--text-secondary);
}
.boot-spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------------- Unauthenticated Landing / Login / Register ---------------- */
.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top right, #dbeafe 0%, #f5f7fb 48%, #eef2ff 100%);
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-main);
  text-decoration: none;
}

.brand-seal {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #1a4fd6, #1e3a8a);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(26, 79, 214, 0.28);
}

.vn-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 12.5px;
  font-weight: 600;
}

.auth-grid {
  max-width: 1200px;
  width: 100%;
  margin: 12px auto 40px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 960px) {
  .auth-grid {
    grid-template-columns: 1.15fr 0.95fr;
    margin-top: 28px;
    gap: 36px;
  }
}

.hero-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.hero-kicker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
  font-size: 12.5px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.28;
  margin: 0 0 12px;
  color: #0f172a;
}

.hero-desc {
  color: var(--text-secondary);
  margin: 0 0 20px;
  font-size: 15px;
}

.domain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 500;
}

.feature-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .feature-points {
    grid-template-columns: 1fr 1fr;
  }
}
.feature-point {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 14px;
}
.feature-point strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: #1e293b;
}
.feature-point span {
  font-size: 13px;
  color: var(--text-secondary);
}

.auth-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.auth-tab {
  min-height: 42px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}
.auth-tab.active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ---------------- Mobile-First App Shell (< 960px default) ---------------- */
.app-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom, 0px) + 12px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--topbar-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 8px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.icon-btn {
  min-width: 42px;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-main);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--bg-subtle);
}

.topbar-title {
  font-weight: 700;
  font-size: 15.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.odst-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  color: #92400e;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

/* Slide-over Drawer (Mobile) & Persistent Left Sidebar (Desktop >= 960px) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(84vw, 290px);
  background: #fff;
  border-right: 1px solid var(--border);
  z-index: 60;
  transform: translateX(-102%);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-group {
  padding: 12px 12px 4px;
}
.nav-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0 10px 6px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 11px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 2px;
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}
.nav-link.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.sidebar-footer {
  margin-top: auto;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

.user-mini-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
}
.user-mini-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Fixed Bottom Tab Bar (Mobile < 960px) */
.bottom-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-tab {
  min-height: 56px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.bottom-tab .tab-ico {
  font-size: 18px;
  line-height: 1;
}
.bottom-tab.active {
  color: var(--primary);
}

/* Main Content */
.main-area {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 14px 28px;
}

/* Desktop Enhancement (>= 960px per GEMINI.md) */
@media (min-width: 960px) {
  .app-layout {
    padding-left: var(--sidebar-w);
    padding-bottom: 24px;
  }
  .sidebar {
    width: var(--sidebar-w);
    transform: translateX(0);
  }
  .drawer-backdrop,
  .mobile-only,
  .bottom-tabs {
    display: none !important;
  }
  .topbar {
    padding: 0 24px;
  }
  .main-area {
    padding: 24px 28px 40px;
  }
}

/* ---------------- Cards, Buttons, Inputs (Touch-friendly 44px & 16px mobile) ---------------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.page-header h1 {
  margin: 0;
  font-size: 21px;
  color: var(--text-main);
}
.page-sub {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 13.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s, background 0.15s;
}
.btn:active {
  transform: scale(0.99);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
}
.btn-secondary {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--text-main);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--bg-subtle);
}
.btn-ai {
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
  color: #fff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
}
.btn-success {
  background: var(--success);
  color: #fff;
}
.btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
}
.btn-sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.field {
  margin-bottom: 13px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: #334155;
  margin-bottom: 5px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px; /* Prevents iOS Safari auto-zoom on mobile */
  color: var(--text-main);
  background: #fff;
}
@media (min-width: 960px) {
  .field input,
  .field select,
  .field textarea {
    font-size: 14px;
    min-height: 40px;
  }
}
.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 79, 214, 0.14);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}
.stat-value {
  font-size: 24px;
  font-weight: 700;
  margin-top: 4px;
  color: var(--text-main);
}
.stat-hint {
  font-size: 12px;
  color: var(--success);
  margin-top: 3px;
}

/* Domain Cards Grid */
.domains-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 680px) {
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .domains-grid { grid-template-columns: repeat(3, 1fr); }
}

.domain-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.domain-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}
.domain-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.domain-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.scenario-btn {
  text-align: left;
  padding: 8px 11px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text-main);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  width: 100%;
  margin-top: 4px;
}
.scenario-btn:hover {
  background: var(--primary-soft);
  border-color: #bfdbfe;
  color: var(--primary-dark);
}

/* ---------------- Split Editor + Live A4 Nghị định 30 Workspace ---------------- */
.workspace-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 1120px) {
  .workspace-split {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

.ai-panel {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.ai-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.ai-mode-btn {
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}
.ai-mode-btn.active {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.ai-mode-btn strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}
.ai-mode-btn small {
  font-size: 11.5px;
  color: var(--accent-gold);
  font-weight: 700;
}

/* Live A4 Paper Sheet — Phụ lục I Nghị định 30/2020/NĐ-CP */
.a4-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.a4-paper {
  background: #ffffff;
  color: #000000;
  font-family: var(--font-nd30);
  font-size: 13.5pt;
  line-height: 1.45;
  width: 100%;
  max-width: 210mm;
  min-height: 275mm;
  margin: 0 auto;
  padding: 20mm 15mm 20mm 28mm;
  box-shadow: var(--shadow-paper);
  border: 1px solid #d1d5db;
}
@media (max-width: 680px) {
  .a4-paper {
    padding: 18px 16px 24px 20px;
    font-size: 12pt;
    min-height: auto;
  }
}

.nd30-head-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 8px;
  align-items: start;
  margin-bottom: 14pt;
}
.nd30-agency, .nd30-motto {
  text-align: center;
}
.nd30-upper-agency {
  font-size: 12pt;
  text-transform: uppercase;
  line-height: 1.3;
}
.nd30-issuing-agency {
  font-size: 12.5pt;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
}
.nd30-rule-short {
  width: 38%;
  height: 1px;
  background: #000;
  margin: 4px auto 8px;
}
.nd30-quoc-hieu {
  font-size: 12.5pt;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
}
.nd30-tieu-ngu {
  font-size: 13.5pt;
  font-weight: 700;
  line-height: 1.35;
}
.nd30-rule-motto {
  width: 56%;
  height: 1px;
  background: #000;
  margin: 4px auto 8px;
}
.nd30-symbol {
  font-size: 13pt;
  margin-top: 4px;
}
.nd30-cv-sub {
  font-size: 12pt;
  margin-top: 3px;
}
.nd30-date {
  font-size: 13pt;
  font-style: italic;
  margin-top: 4px;
}
.nd30-urgent {
  display: inline-block;
  border: 1.5px solid #b91c1c;
  color: #b91c1c;
  font-weight: 700;
  padding: 1px 8px;
  font-size: 11.5pt;
  margin-bottom: 8pt;
}
.nd30-doc-title {
  text-align: center;
  margin: 12pt 0 12pt;
}
.nd30-doc-type {
  font-size: 14pt;
  font-weight: 700;
  text-transform: uppercase;
}
.nd30-doc-abstract {
  font-size: 13.5pt;
  font-weight: 700;
  margin-top: 2pt;
}
.nd30-basis p {
  margin: 0 0 5pt;
  text-indent: 1.27cm;
  font-style: italic;
  text-align: justify;
}
.nd30-body p {
  margin: 0 0 6pt;
  text-indent: 1.27cm;
  text-align: justify;
}
.nd30-body p.nd30-authority-center {
  text-align: center;
  text-indent: 0;
  font-weight: 700;
  margin: 10pt 0;
}
.nd30-foot-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 10px;
  margin-top: 16pt;
  align-items: start;
}
.nd30-recipients {
  font-size: 11pt;
  line-height: 1.35;
}
.nd30-recipients-title {
  font-size: 12pt;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 3pt;
}
.nd30-sign-block {
  text-align: center;
  font-size: 13.5pt;
}
.nd30-sign-authority,
.nd30-sign-title {
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.35;
}
.nd30-sign-space {
  height: 68px;
}
.nd30-signer-name {
  font-weight: 700;
}

/* Tables & Badges */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
table.data-table th,
table.data-table td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
table.data-table th {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #f8fafc;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}
.badge-blue { background: var(--primary-soft); color: var(--primary); }
.badge-green { background: var(--success-soft); color: var(--success); }
.badge-amber { background: var(--accent-gold-soft); color: var(--accent-gold); }
.badge-red { background: var(--danger-soft); color: var(--danger); }

.alert-banner {
  padding: 12px 14px;
  border-radius: 11px;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 500;
}
.alert-error { background: var(--danger-soft); color: var(--danger); border: 1px solid #fecaca; }
.alert-ok { background: var(--success-soft); color: var(--success); border: 1px solid #a7f3d0; }
.alert-info { background: var(--primary-soft); color: var(--primary-dark); border: 1px solid #bfdbfe; }

.toast {
  position: fixed;
  right: 16px;
  bottom: calc(var(--bottombar-h) + 16px);
  z-index: 90;
  background: #0f172a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-size: 13.5px;
  font-weight: 500;
  max-width: 360px;
}
@media (min-width: 960px) {
  .toast { bottom: 24px; }
}

/* ---------------- Print / A4 PDF Preservation (GEMINI.md Rule 3) ---------------- */
@media print {
  @page {
    size: A4 portrait;
    margin: 20mm 15mm 20mm 30mm;
  }
  html, body {
    background: #fff !important;
  }
  .noprint,
  .topbar,
  .sidebar,
  .drawer-backdrop,
  .bottom-tabs,
  .toast {
    display: none !important;
  }
  .app-layout,
  .main-area,
  .workspace-split,
  .a4-scroll-wrap {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }
  .a4-paper {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    font-size: 13.5pt !important;
  }
}
