/* Shared app dashboards — quiet slate + blue chrome */
:root {
  --ed-ink: #0f172a;
  --ed-muted: #64748b;
  --ed-line: #e2e8f0;
  --ed-paper: #f8fafc;
  --ed-surface: #ffffff;
  --ed-blue: #2563eb;
  --ed-blue-soft: #eff6ff;
  --ed-danger: #b91c1c;
  --ed-ok: #047857;
}

body {
  background: var(--ed-paper) !important;
  color: var(--ed-ink);
  min-height: 100vh;
  height: auto !important;
}

/* ——— Navbar ——— */
.ed-nav.navbar,
nav.ed-nav {
  background: var(--ed-surface) !important;
  border-bottom: 1px solid var(--ed-line);
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 60px;
}

.ed-nav .container {
  display: flex;
  align-items: center;
  min-height: 60px;
}

.ed-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ed-ink) !important;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  padding: 0 !important;
  margin-right: 1.5rem;
}

.ed-nav .navbar-brand.ed-brand-logo {
  margin-right: 1.25rem;
}

.ed-nav .navbar-brand img {
  height: 28px;
  width: auto;
  display: block;
}

.ed-nav .navbar-brand.ed-brand-logo img {
  height: 34px;
}

.ed-nav .navbar-toggler {
  border: 1px solid var(--ed-line);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
}

.ed-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.15);
}

.ed-nav .navbar-collapse {
  align-items: center;
}

.ed-nav .navbar-nav {
  gap: 0.35rem;
}

.ed-nav .navbar-nav.ed-main-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.ed-nav .nav-link {
  color: #334155 !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 0.95rem !important;
  border-radius: 10px;
  border-bottom: none !important;
  background: transparent !important;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ed-nav .nav-link i {
  font-size: 0.88rem;
  opacity: 0.85;
}

.ed-nav .nav-link:hover {
  color: var(--ed-ink) !important;
  background: #fff !important;
}

.ed-nav .navbar-nav .nav-link.active,
.ed-nav .nav-link.active {
  color: #fff !important;
  background: #0f172a !important;
  font-weight: 750;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.ed-nav .navbar-nav .nav-link.active i,
.ed-nav .nav-link.active i {
  color: #fff !important;
  opacity: 1;
}

@media (min-width: 992px) {
  .ed-nav .navbar-collapse {
    display: flex !important;
    flex: 1;
    align-items: center;
    justify-content: space-between;
  }

  .ed-nav .navbar-nav.ed-main-nav {
    margin-left: 0.5rem;
  }

  .ed-nav-actions {
    margin-left: auto;
  }
}

.ed-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.ed-account-btn,
.ed-nav-actions .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0 !important;
  background: transparent !important;
  color: var(--ed-ink) !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 0.7rem !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.ed-account-btn:hover,
.ed-account-btn:focus,
.ed-nav-actions .dropdown-toggle:hover,
.ed-nav-actions .dropdown-toggle:focus {
  background: var(--ed-paper) !important;
  color: var(--ed-ink) !important;
}

.ed-account-btn::after,
.ed-nav-actions .dropdown-toggle::after {
  margin-left: 0.25rem;
  opacity: 0.55;
}

.ed-nav-actions .dropdown-menu {
  border: 1px solid var(--ed-line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  padding: 0.45rem;
  min-width: 15rem;
}

.ed-nav-actions .dropdown-item {
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  color: var(--ed-ink);
}

.ed-nav-actions .dropdown-item:hover {
  background: var(--ed-paper);
  color: var(--ed-ink);
}

.ed-nav-actions .dropdown-item.is-danger {
  color: var(--ed-danger);
}

.ed-nav-actions .dropdown-item.is-danger:hover {
  background: #fef2f2;
  color: var(--ed-danger);
}

.ed-nav-actions .dropdown-divider {
  margin: 0.35rem 0.2rem;
  border-color: var(--ed-line);
  opacity: 1;
}

/* Combined account control: mode pill + name in one button */
.ed-account-btn--combined {
  gap: 0.45rem !important;
}

.ed-account-mode {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.ed-account-mode.is-employer {
  background: #eff6ff;
  color: #1e3a8a;
  border-color: #bfdbfe;
}

.ed-account-mode-row {
  list-style: none;
}

.ed-account-menu-head {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.45rem 0.75rem 0.55rem;
}

.ed-account-menu-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

.ed-account-menu-role {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ed-ink);
  line-height: 1.25;
  white-space: nowrap;
}

.ed-account-item {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
}

.ed-account-item i {
  width: 1rem;
  text-align: center;
  opacity: 0.7;
  font-size: 0.85rem;
}

.ed-account-switch {
  font-weight: 600 !important;
  color: #0f766e !important;
  background: #f0fdfa;
}

.ed-account-switch:hover {
  background: #ccfbf1 !important;
  color: #115e59 !important;
}

.ed-account-switch i {
  opacity: 1;
  color: #0f766e;
}

.ed-account-mode-row .dropdown-item-text {
  display: block;
  padding: 0.35rem 0.7rem 0.2rem;
  font-size: 0.78rem;
  color: var(--ed-muted);
}

.ed-account-mode-row strong {
  color: var(--ed-ink);
  font-weight: 700;
}

/* Legacy mode chip / switcher — hidden if any stale markup remains */
.ed-mode-chip,
#roleSwitcherContainer {
  display: none !important;
}

.ed-role-current {
  display: block;
  padding: 0.35rem 0.7rem 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ed-muted);
}

/* ——— Page shell ——— */
.ed-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

.ed-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ed-page-head h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ed-ink);
}

.ed-page-head p {
  margin: 0.25rem 0 0;
  color: var(--ed-muted);
  font-size: 0.95rem;
}

.ed-page-head .btn-primary,
.ed-empty .btn-primary,
.ed-shell .btn-primary,
body .btn-primary {
  background: var(--ed-blue) !important;
  border-color: var(--ed-blue) !important;
  border-radius: 8px !important;
  font-weight: 600;
  color: #fff !important;
}

.ed-page-head .btn-primary,
.ed-empty .btn-primary {
  padding: 0.55rem 1rem !important;
}

.ed-page-head .btn-primary:hover,
.ed-page-head .btn-primary:focus,
.ed-empty .btn-primary:hover,
.ed-empty .btn-primary:focus,
.ed-shell .btn-primary:hover,
.ed-shell .btn-primary:focus,
body .btn-primary:hover,
body .btn-primary:focus {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #fff !important;
}

/* Stats */
.ed-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.ed-stats.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ed-stats.is-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ed-stat {
  background: var(--ed-surface);
  border: 1px solid var(--ed-line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  min-width: 0;
}

.ed-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ed-muted);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ed-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ed-ink);
  line-height: 1.1;
  margin: 0;
}

/* Profile strip (team member) */
.ed-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--ed-surface);
  border: 1px solid var(--ed-line);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.ed-profile-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.ed-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ed-blue-soft);
  color: var(--ed-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ed-profile-copy h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ed-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: 0.25rem;
  color: var(--ed-muted);
  font-size: 0.875rem;
}

.ed-profile-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Panels */
.ed-panel {
  background: var(--ed-surface);
  border: 1px solid var(--ed-line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.ed-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--ed-line);
}

.ed-panel-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ed-ink);
}

.ed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ed-filter {
  border: 1px solid var(--ed-line);
  background: var(--ed-surface);
  color: var(--ed-muted);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
}

.ed-filter:hover {
  color: var(--ed-ink);
  background: var(--ed-paper);
}

.ed-filter.active {
  background: var(--ed-blue-soft);
  border-color: #bfdbfe;
  color: var(--ed-blue);
}

.ed-panel-body {
  padding: 0;
}

.ed-empty {
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--ed-muted);
}

.ed-empty h5 {
  color: var(--ed-ink);
  font-weight: 700;
}

/* Job rows */
.ed-job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--ed-line);
}

.ed-job:last-child {
  border-bottom: none;
}

.ed-job-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-bottom: 0.35rem;
}

.ed-job-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ed-ink);
  letter-spacing: -0.02em;
}

.ed-job-company {
  margin: 0 0 0.45rem;
  color: var(--ed-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.ed-job-desc {
  margin: 0 0 0.65rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-status {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: #ecfdf5;
  color: var(--ed-ok);
}

.ed-status.is-closed,
.ed-status.is-draft {
  background: #f1f5f9;
  color: var(--ed-muted);
}

.ed-status.is-progress {
  background: #fff7ed;
  color: #c2410c;
}

.ed-status.is-applied {
  background: var(--ed-blue-soft);
  color: var(--ed-blue);
}

.ed-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  color: var(--ed-muted);
  font-size: 0.875rem;
}

.ed-job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ed-job-meta i {
  width: 0.9rem;
  opacity: 0.7;
}

.ed-job-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.ed-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--ed-line);
  background: var(--ed-surface);
  color: var(--ed-ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ed-action:hover {
  background: var(--ed-paper);
  border-color: #cbd5e1;
  color: var(--ed-ink);
  text-decoration: none;
}

.ed-action.is-primary {
  background: var(--ed-blue-soft);
  border-color: #bfdbfe;
  color: var(--ed-blue);
}

.ed-action.is-primary:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.ed-action.is-danger {
  color: var(--ed-danger);
}

.ed-action.is-danger:hover {
  background: #fef2f2;
  border-color: #fecaca;
}

.ed-action.is-icon {
  width: 34px;
  padding: 0;
}

@media (max-width: 991px) {
  .ed-nav .navbar-collapse {
    padding: 0.75rem 0 1rem;
    border-top: 1px solid var(--ed-line);
    margin-top: 0.5rem;
  }

  .ed-nav-actions {
    margin: 0.75rem 0 0;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .ed-stats,
  .ed-stats.is-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ed-page-head,
  .ed-profile {
    flex-direction: column;
    align-items: stretch;
  }

  .ed-job {
    grid-template-columns: 1fr;
  }

  .ed-job-actions {
    justify-content: flex-start;
  }

  .ed-stats,
  .ed-stats.is-3 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ——— Share job modal (2026) ——— */
#shareModal.modal {
  --share-radius: 18px;
}

#shareModal .modal-dialog {
  max-width: 440px;
  margin: 1.25rem auto;
}

#shareModal .modal-content {
  border: 1px solid var(--ed-line);
  border-radius: var(--share-radius);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  background: var(--ed-surface);
}

#shareModal .modal-body {
  padding: 0;
}

.share-sheet {
  padding: 1.25rem 1.25rem 1.35rem;
}

.share-sheet-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.share-sheet-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

.share-sheet-title {
  margin: 0.15rem 0 0;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ed-ink);
  line-height: 1.25;
}

.share-sheet-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--ed-paper);
  color: var(--ed-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.share-sheet-close:hover {
  background: var(--ed-line);
  color: var(--ed-ink);
}

.share-job-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.01)),
    var(--ed-paper);
  border: 1px solid #dbe7ff;
  margin-bottom: 1.1rem;
  animation: share-rise 0.35s ease both;
}

.share-job-card strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--ed-ink);
}

.share-job-card span {
  font-size: 0.82rem;
  color: var(--ed-muted);
}

.share-section-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ed-muted);
}

.share-network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.share-network {
  appearance: none;
  border: 1px solid var(--ed-line);
  background: #fff;
  border-radius: 14px;
  min-height: 76px;
  padding: 0.65rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  animation: share-rise 0.4s ease both;
}

.share-network:nth-child(1) { animation-delay: 0.04s; }
.share-network:nth-child(2) { animation-delay: 0.08s; }
.share-network:nth-child(3) { animation-delay: 0.12s; }
.share-network:nth-child(4) { animation-delay: 0.16s; }
.share-network:nth-child(5) { animation-delay: 0.2s; }

.share-network:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.share-network:active {
  transform: translateY(0);
}

.share-network:focus-visible {
  outline: 2px solid var(--ed-blue);
  outline-offset: 2px;
}

.share-network-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #fff;
}

.share-network.is-linkedin .share-network-icon { background: #0a66c2; }
.share-network.is-x .share-network-icon { background: #111827; }
.share-network.is-whatsapp .share-network-icon { background: #16a34a; }
.share-network.is-facebook .share-network-icon { background: #1877f2; }
.share-network.is-device .share-network-icon { background: var(--ed-blue); }

.share-network-name {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--ed-ink);
  letter-spacing: -0.01em;
}

.share-primary-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.share-link-field {
  min-width: 0;
  border: 1px solid var(--ed-line);
  background: var(--ed-paper);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.8rem;
  color: var(--ed-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-copy-btn,
.share-ghost-btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  font-weight: 650;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.share-copy-btn {
  background: var(--ed-blue);
  color: #fff;
  padding: 0 1rem;
  white-space: nowrap;
}

.share-copy-btn:hover {
  background: #1d4ed8;
}

.share-copy-btn.is-done {
  background: var(--ed-ok);
}

.share-tools {
  display: grid;
  gap: 0.55rem;
}

.share-tool {
  border: 1px solid var(--ed-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.share-tool-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border: 0;
  background: transparent;
  color: var(--ed-ink);
  font-weight: 650;
  font-size: 0.86rem;
  cursor: pointer;
  text-align: left;
}

.share-tool-toggle i:last-child {
  color: var(--ed-muted);
  transition: transform 0.2s ease;
}

.share-tool.is-open .share-tool-toggle i:last-child {
  transform: rotate(180deg);
}

.share-tool-panel {
  display: none;
  padding: 0 0.95rem 0.95rem;
  border-top: 1px solid var(--ed-line);
}

.share-tool.is-open .share-tool-panel {
  display: block;
  animation: share-rise 0.25s ease both;
}

.share-tool-panel textarea {
  width: 100%;
  min-height: 96px;
  margin-top: 0.75rem;
  border: 1px solid var(--ed-line);
  border-radius: 12px;
  background: var(--ed-paper);
  padding: 0.75rem 0.85rem;
  font-size: 0.84rem;
  color: var(--ed-ink);
  resize: vertical;
  line-height: 1.45;
}

.share-tool-panel textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.25);
  border-color: #93c5fd;
}

.share-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.share-ghost-btn {
  background: var(--ed-paper);
  color: var(--ed-ink);
  border: 1px solid var(--ed-line);
  padding: 0.45rem 0.8rem;
}

.share-ghost-btn:hover {
  background: #eef2f7;
}

.share-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.85rem;
}

.share-qr #qrCode {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 0.65rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ed-line);
}

.share-qr #qrCode canvas {
  width: 140px !important;
  height: 140px !important;
}

.share-hint {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--ed-muted);
  text-align: center;
}

@keyframes share-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  #shareModal .modal-dialog {
    margin: 0.65rem;
  }

  .share-network-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share-primary-row {
    grid-template-columns: 1fr;
  }

  .share-copy-btn {
    min-height: 44px;
  }
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.ed-nav .navbar-toggler {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 640px) {
  .ed-nav .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .form-control,
  .form-select,
  textarea.form-control {
    font-size: 16px;
  }

  .ed-page-head h1 {
    font-size: 1.45rem;
  }
}
