.author-space-nav {
  align-items: stretch;
  display: grid;
  gap: 12px;
}

.author-page,
.author-page * {
  box-sizing: border-box;
}

.author-page {
  background: #f6f5f1;
  color: #2e3435;
  padding: 36px 0 54px;
}

.author-container {
  margin: 0 auto;
  max-width: 1400px;
  width: calc(100% - 64px);
}

.author-page-hero {
  margin-bottom: 18px;
}

.author-page-kicker {
  color: var(--author-accent, #28393e);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.author-page-hero h1 {
  color: #252827;
  font-size: 2.45rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 10px;
}

.author-page-hero p {
  color: #4f5856;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 900px;
}

.author-space-nav-card {
  background: #fff;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(40, 57, 62, 0.07);
  margin: 0 0 20px;
  padding: 18px;
}

.author-space-nav-top {
  align-items: center;
  border-bottom: 1px solid rgba(40, 57, 62, 0.1);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 14px;
}

.author-space-nav-kicker {
  color: var(--author-accent, #28393e);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.author-space-user {
  color: #252827;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.author-space-logout {
  color: var(--author-accent, #28393e) !important;
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline !important;
}

.author-space-nav {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.author-space-nav-group {
  min-width: 0;
}

.author-space-nav-group-title {
  color: #68716e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.author-space-nav-group-items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.author-space-nav-link {
  align-items: center;
  background: #f7f8f8;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  color: #2e3435 !important;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  gap: 7px;
  line-height: 1.2;
  min-height: 40px;
  padding: 10px 12px;
  text-decoration: none !important;
}

.author-space-nav-link:hover,
.author-space-nav-link:focus,
.author-space-nav-link.is-active {
  background: var(--author-accent, #28393e);
  border-color: var(--author-accent, #28393e);
  color: #fff !important;
}

.author-space-nav-link.is-active {
  cursor: default;
}

.author-space-nav-link.is-soon:not(.is-active) {
  background: #fbf8ef;
  color: #4d524f !important;
}

.author-home-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.author-summary-item {
  background: #fff;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  padding: 16px;
}

.author-summary-item span,
.author-summary-item strong {
  display: block;
}

.author-summary-item span {
  color: #68716e;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 5px;
}

.author-summary-item strong {
  color: #252827;
  font-size: 1.08rem;
  line-height: 1.3;
}

.author-dashboard {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-bottom: 26px;
  padding: 0;
}

.author-dashboard-head {
  background: #fff;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 18px;
}

.author-dashboard-head h4,
.author-section-heading h4,
.author-coming-soon h4 {
  color: #252827;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 10px;
}

.author-dashboard-head p,
.author-section-heading p {
  color: #4f5856;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
  max-width: 900px;
}

.author-dashboard-panels {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  margin-bottom: 14px;
}

.author-panel,
.author-presence-panel,
.author-social-panel,
.author-books-section,
.author-coming-soon {
  background: #fff;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(40, 57, 62, 0.06);
  padding: 18px;
}

.author-panel-title {
  color: #252827;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.author-panel-intro {
  color: #4f5856;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 14px;
}

.author-task {
  align-items: center;
  background: #f7f8f8;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  color: #252827 !important;
  display: grid;
  gap: 12px;
  grid-template-columns: 38px minmax(0, 1fr);
  margin-top: 10px;
  min-height: 70px;
  padding: 12px;
  text-decoration: none !important;
}

.author-task:hover,
.author-task:focus {
  border-color: var(--author-accent, #28393e);
  box-shadow: 0 10px 24px rgba(40, 57, 62, 0.1);
}

.author-task-icon {
  align-items: center;
  background: rgba(40, 57, 62, 0.08);
  border-radius: 50%;
  color: var(--author-accent, #28393e);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.author-task strong,
.author-task small,
.author-status-row strong,
.author-status-row small {
  display: block;
}

.author-task strong,
.author-status-row strong {
  color: #252827;
  font-size: 0.96rem;
  line-height: 1.3;
}

.author-task small,
.author-status-row small {
  color: #626b68;
  font-size: 0.84rem;
  line-height: 1.4;
  margin-top: 3px;
}

.author-task.is-ready {
  border-left: 5px solid var(--author-accent, #28393e);
}

.author-task.is-soon {
  background: #fbf8ef;
}

.author-status-row {
  align-items: flex-start;
  display: grid;
  gap: 11px;
  grid-template-columns: 18px minmax(0, 1fr);
  padding: 11px 0;
}

.author-status-row + .author-status-row {
  border-top: 1px solid rgba(40, 57, 62, 0.1);
}

.author-status-dot {
  background: #c7b36e;
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  margin-top: 7px;
  width: 10px;
}

.author-status-dot.is-active {
  background: #2f9e44;
  box-shadow: 0 0 0 5px rgba(47, 158, 68, 0.13);
}

.author-status-dot.is-soon {
  background: #c7b36e;
  box-shadow: 0 0 0 5px rgba(199, 179, 110, 0.14);
}

.author-presence-panel,
.author-social-panel {
  margin-bottom: 14px;
}

.author-presence-books {
  display: grid;
  gap: 10px;
}

.author-presence-book {
  align-items: center;
  background: #fbfbfa;
  border: 1px solid rgba(40, 57, 62, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
  padding: 13px;
}

.author-presence-book strong,
.author-presence-book small {
  display: block;
}

.author-presence-book strong {
  color: #252827;
  font-size: 0.98rem;
  line-height: 1.35;
}

.author-presence-book small {
  color: #626b68;
  font-size: 0.83rem;
  line-height: 1.4;
  margin-top: 3px;
}

.author-presence-links,
.author-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.author-presence-links a,
.author-social-links a {
  align-items: center;
  background: rgba(40, 57, 62, 0.08);
  border: 1px solid rgba(40, 57, 62, 0.1);
  border-radius: 999px;
  color: var(--author-accent, #28393e) !important;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 6px;
  line-height: 1;
  min-height: 34px;
  padding: 9px 12px;
  text-decoration: none !important;
}

.author-presence-links a:hover,
.author-presence-links a:focus,
.author-social-links a:hover,
.author-social-links a:focus {
  background: var(--author-accent, #28393e);
  color: #fff !important;
}

.author-social-panel {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
}

.author-books-section {
  margin-top: 22px;
  position: relative;
}

.author-anchor {
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  top: -90px;
  width: 1px;
}

.author-section-heading {
  margin-bottom: 18px;
}

.author-book-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.author-book-card {
  background: #fbfbfa;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 230px;
  padding: 16px;
}

.author-book-cover img {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(40, 57, 62, 0.14);
  display: block;
  height: auto;
  width: 100%;
}

.author-book-label {
  color: var(--author-accent, #28393e);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.author-book-title {
  color: #252827;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px;
}

.author-book-meta {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
}

.author-book-meta div {
  display: grid;
  gap: 6px;
  grid-template-columns: 105px minmax(0, 1fr);
}

.author-book-meta dt {
  color: #626b68;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.author-book-meta dd {
  color: #252827;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.author-book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.author-button {
  align-items: center;
  border: 1px solid var(--author-accent, #28393e);
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 42px;
  min-width: 132px;
  padding: 10px 14px;
  text-decoration: none !important;
}

.author-button.is-primary {
  background: var(--author-accent, #28393e);
  color: #fff !important;
}

.author-button.is-secondary {
  background: #fff;
  color: var(--author-accent, #28393e) !important;
}

.author-alert {
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 16px;
  padding: 14px 16px;
}

.author-alert.is-success {
  background: #edf8ef;
  border: 1px solid #bfe8c7;
  color: #206a31;
}

.author-alert.is-error {
  background: #fff0f0;
  border: 1px solid #f1c2c2;
  color: #8a1f1f;
}

.author-empty-state {
  background: #fbf8ef;
  border: 1px dashed rgba(40, 57, 62, 0.22);
  border-radius: 8px;
  color: #626b68;
  font-size: 0.92rem;
  line-height: 1.5;
  padding: 15px;
}

.author-coming-soon {
  border-left: 5px solid var(--author-accent, #28393e);
  margin-top: 16px;
}

.author-coming-soon-badge {
  background: rgba(40, 57, 62, 0.08);
  border-radius: 999px;
  color: var(--author-accent, #28393e);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  padding: 9px 12px;
  text-transform: uppercase;
}

.author-coming-soon p {
  color: #4f5856;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 10px;
}

.author-coming-soon-note {
  color: #626b68 !important;
  font-size: 0.9rem !important;
  margin-bottom: 0 !important;
}

@media (max-width: 991px) {
  .author-dashboard-panels,
  .author-social-panel,
  .author-presence-book {
    grid-template-columns: 1fr;
  }

  .author-presence-links,
  .author-social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .author-container {
    width: calc(100% - 28px);
  }

  .author-page {
    padding: 24px 0 40px;
  }

  .author-page-hero h1 {
    font-size: 1.9rem;
  }

  .author-space-nav-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .author-space-nav {
    grid-template-columns: 1fr;
  }

  .author-space-nav-link {
    width: 100%;
  }

  .author-home-summary,
  .author-book-grid,
  .author-book-card {
    grid-template-columns: 1fr;
  }

  .author-book-card {
    min-height: 0;
  }

  .author-book-cover {
    max-width: 150px;
  }
}

.author-space-nav-link {
  display: inline-flex;
  gap: 6px;
  justify-content: center;
  margin: 0;
  white-space: nowrap;
}

.author-space-nav-link.is-soon {
  opacity: 0.86;
}

.author-space-nav-link.is-active {
  cursor: default !important;
  pointer-events: none !important;
  transition: none !important;
}

.author-space-nav-group {
  min-width: 0;
}

.author-space-nav-group-title {
  color: #606763;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 7px 2px;
  text-transform: uppercase;
}

.author-space-nav-group-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.author-space-user {
  line-height: 1.4;
}

.author-space-logout {
  font-size: 0.7rem;
}

.author-welcome-card {
  align-items: flex-start;
  background: var(--author-soft, #fff);
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(40, 57, 62, 0.08);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 24px;
}

.author-welcome-kicker,
.author-dashboard-kicker,
.author-section-heading span {
  color: var(--author-accent, #28393e);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.author-welcome-card h4,
.author-dashboard-head h4,
.author-section-heading h4 {
  color: #2f2d2a;
  font-size: 2rem;
  line-height: 1.12;
  margin: 0 0 12px;
}

.author-welcome-card p,
.author-dashboard-head p,
.author-section-heading p {
  color: #4d5350;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 850px;
}

.author-welcome-logout {
  color: var(--author-accent, #28393e);
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
}

.author-dashboard {
  background: #fff;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(40, 57, 62, 0.08);
  margin-bottom: 24px;
  padding: 24px;
}

.author-dashboard-head {
  margin-bottom: 22px;
}

.author-dashboard-panels {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  margin-bottom: 18px;
}

.author-panel,
.author-presence-panel,
.author-social-panel {
  background: #fff;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(40, 57, 62, 0.06);
  padding: 18px;
}

.author-panel-title {
  color: #2f2d2a;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.author-panel-intro {
  color: #555d59;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 14px;
}

.author-task {
  align-items: center;
  background: #fbfbfa;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  color: #2f2d2a !important;
  display: grid;
  gap: 12px;
  grid-template-columns: 40px minmax(0, 1fr);
  margin-top: 10px;
  min-height: 72px;
  padding: 12px;
  text-decoration: none !important;
}

.author-task:hover,
.author-task:focus {
  border-color: var(--author-accent, #28393e);
  box-shadow: 0 10px 24px rgba(40, 57, 62, 0.1);
}

.author-task-icon {
  align-items: center;
  background: rgba(40, 57, 62, 0.08);
  border-radius: 50%;
  color: var(--author-accent, #28393e);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.author-task strong,
.author-task small {
  display: block;
}

.author-task strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.author-task small {
  color: #626a66;
  font-size: 0.84rem;
  line-height: 1.35;
  margin-top: 3px;
}

.author-task.is-ready {
  border-left: 5px solid var(--author-accent, #28393e);
}

.author-task.is-soon {
  background: #fbf8ef;
}

.author-status-row {
  align-items: flex-start;
  display: grid;
  gap: 11px;
  grid-template-columns: 18px minmax(0, 1fr);
  padding: 11px 0;
}

.author-status-row + .author-status-row {
  border-top: 1px solid rgba(40, 57, 62, 0.1);
}

.author-status-dot {
  background: #c7b36e;
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  margin-top: 7px;
  width: 10px;
}

.author-status-dot.is-active {
  background: #2f9e44;
  box-shadow: 0 0 0 5px rgba(47, 158, 68, 0.13);
}

.author-status-dot.is-soon {
  background: #c7b36e;
  box-shadow: 0 0 0 5px rgba(199, 179, 110, 0.14);
}

.author-status-row strong,
.author-status-row small {
  display: block;
}

.author-status-row strong {
  color: #2f2d2a;
  font-size: 0.96rem;
  line-height: 1.35;
}

.author-status-row small {
  color: #626a66;
  font-size: 0.84rem;
  line-height: 1.45;
  margin-top: 3px;
}

.author-presence-panel {
  margin-bottom: 18px;
}

.author-presence-books {
  display: grid;
  gap: 10px;
}

.author-presence-book {
  align-items: center;
  background: #fbfbfa;
  border: 1px solid rgba(40, 57, 62, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.95fr);
  padding: 13px;
}

.author-presence-book strong,
.author-presence-book small {
  display: block;
}

.author-presence-book strong {
  color: #2f2d2a;
  font-size: 0.98rem;
  line-height: 1.35;
}

.author-presence-book small {
  color: #626a66;
  font-size: 0.83rem;
  line-height: 1.4;
  margin-top: 3px;
}

.author-presence-links,
.author-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.author-presence-links a,
.author-social-links a {
  align-items: center;
  background: rgba(40, 57, 62, 0.08);
  border: 1px solid rgba(40, 57, 62, 0.1);
  border-radius: 999px;
  color: var(--author-accent, #28393e) !important;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 6px;
  line-height: 1;
  min-height: 34px;
  padding: 9px 12px;
  text-decoration: none !important;
}

.author-presence-links a:hover,
.author-presence-links a:focus,
.author-social-links a:hover,
.author-social-links a:focus {
  background: var(--author-accent, #28393e);
  color: #fff !important;
}

.author-social-panel {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  margin-bottom: 22px;
}

.author-empty-state {
  background: #fbf8ef;
  border: 1px dashed rgba(40, 57, 62, 0.2);
  border-radius: 8px;
  color: #626a66;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 15px;
}

.author-dashboard-groups {
  display: grid;
  gap: 22px;
}

.author-dashboard-group-title {
  color: #606763;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.author-dashboard-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.author-dashboard-card {
  align-items: flex-start;
  background: #fafafa;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-left: 5px solid var(--author-accent, #28393e);
  border-radius: 8px;
  color: #2f2d2a !important;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 150px;
  padding: 16px;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.author-dashboard-card:hover,
.author-dashboard-card:focus {
  border-color: var(--author-accent, #28393e);
  box-shadow: 0 12px 28px rgba(40, 57, 62, 0.12);
  transform: translateY(-1px);
}

.author-dashboard-card.is-soon {
  border-left-style: solid;
}

.author-dashboard-card-icon {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(40, 57, 62, 0.12);
  color: var(--author-accent, #28393e);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.author-dashboard-card-content,
.author-dashboard-card-status,
.author-dashboard-card-title,
.author-dashboard-card-text {
  display: block;
}

.author-dashboard-card-status {
  color: var(--author-accent, #28393e);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.author-dashboard-card.is-soon .author-dashboard-card-status {
  color: #7b6b49;
}

.author-dashboard-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 7px;
}

.author-dashboard-card-text {
  color: #5b625f;
  font-size: 0.88rem;
  line-height: 1.5;
}

.author-section-heading {
  margin-bottom: 22px;
}

.author-login-help {
  display: grid;
  gap: 10px;
}

.author-login-help-title {
  color: var(--author-accent, #28393e);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 2px;
}

.author-login-action {
  align-items: center;
  background: var(--author-soft, #faf8f2);
  border: 1px solid rgba(40, 57, 62, 0.16);
  border-radius: 8px;
  color: var(--author-accent, #28393e) !important;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 13px 15px;
  text-decoration: none !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.author-login-action:hover,
.author-login-action:focus {
  border-color: var(--author-accent, #28393e);
  box-shadow: 0 10px 26px rgba(40, 57, 62, 0.12);
  transform: translateY(-1px);
}

.author-login-action-icon {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(40, 57, 62, 0.12);
  color: var(--author-accent, #28393e);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.author-login-action-title {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.author-login-action-text {
  color: #5f625f;
  display: block;
  font-size: 0.85rem;
  line-height: 1.45;
  margin-top: 2px;
}

.author-login-submit {
  align-items: flex-end;
  display: flex;
  justify-content: flex-end;
}

.author-coming-soon {
  background: #fff;
  border: 1px solid rgba(40, 57, 62, 0.14);
  border-left: 6px solid var(--author-accent, #28393e);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(40, 57, 62, 0.08);
  margin-top: 12px;
  padding: 30px;
}

.author-coming-soon-badge {
  background: rgba(40, 57, 62, 0.08);
  border-radius: 999px;
  color: var(--author-accent, #28393e);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  padding: 9px 12px;
  text-transform: uppercase;
}

.author-coming-soon h4 {
  color: #2f2d2a;
  font-size: 2.15rem;
  line-height: 1.1;
  margin-bottom: 16px;
}

.author-coming-soon p {
  color: #3f4544;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.author-coming-soon-note {
  color: #6b6f6d !important;
  font-size: 0.92rem !important;
  margin-bottom: 0 !important;
}

@media (max-width: 575px) {
  .author-space-nav-link {
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .author-login-submit {
    justify-content: stretch;
  }

  .author-login-submit .btn {
    width: 100%;
  }

  .author-welcome-card {
    display: block;
    padding: 22px;
  }

  .author-welcome-logout {
    display: inline-block;
    margin-top: 14px;
  }

  .author-dashboard {
    padding: 20px;
  }

  .author-dashboard-panels,
  .author-social-panel,
  .author-presence-book {
    grid-template-columns: 1fr;
  }

  .author-presence-links,
  .author-social-links {
    justify-content: flex-start;
  }

  .author-coming-soon {
    padding: 22px;
  }
}

.author-page {
  background: #f6f5f1;
  color: #2e3435;
  padding: 36px 0 54px;
}

.author-container {
  margin: 0 auto;
  max-width: 1400px;
  width: calc(100% - 64px);
}

.author-page-hero h1 {
  color: #252827;
  font-size: 2.45rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 10px;
}

.author-page-hero p {
  color: #4f5856;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 900px;
}

.author-space-nav-card {
  background: #fff;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(40, 57, 62, 0.07);
  margin: 0 0 20px;
  padding: 18px;
}

.author-space-nav {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.author-space-nav-link {
  align-items: center;
  background: #f7f8f8;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  color: #2e3435 !important;
  display: inline-flex;
  flex: 0 1 auto;
  font-size: 0.88rem;
  font-weight: 700;
  gap: 7px;
  justify-content: flex-start;
  line-height: 1.2;
  min-height: 40px;
  min-width: 0;
  padding: 10px 12px;
  text-align: left;
  text-decoration: none !important;
  white-space: normal;
}

.author-space-nav-link:hover,
.author-space-nav-link:focus,
.author-space-nav-link.is-active {
  background: var(--author-accent, #28393e);
  border-color: var(--author-accent, #28393e);
  color: #fff !important;
}

.author-space-nav-link.is-soon:not(.is-active) {
  background: #fbf8ef;
  color: #4d524f !important;
  opacity: 1;
}

.author-dashboard {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-bottom: 26px;
  padding: 0;
}

.author-dashboard-head {
  background: #fff;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 18px;
}

.author-dashboard-head h4,
.author-section-heading h4,
.author-coming-soon h4 {
  color: #252827;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 10px;
}

.author-dashboard-head p,
.author-section-heading p,
.author-coming-soon p {
  color: #4f5856;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0 0 10px;
  max-width: 900px;
}

.author-dashboard-panels {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  margin-bottom: 14px;
}

.author-panel,
.author-presence-panel,
.author-social-panel,
.author-books-section,
.author-coming-soon {
  background: #fff;
  border: 1px solid rgba(40, 57, 62, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(40, 57, 62, 0.06);
  padding: 18px;
}

@media (max-width: 991px) {
  .author-dashboard-panels,
  .author-social-panel,
  .author-presence-book {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .author-container {
    width: calc(100% - 28px);
  }

  .author-page {
    padding: 24px 0 40px;
  }

  .author-page-hero h1 {
    font-size: 1.9rem;
  }

  .author-space-nav {
    grid-template-columns: 1fr;
  }

  .author-space-nav-link {
    width: 100%;
  }
}
