/* A prominent workspace shortcut using the shared CliffPoint navy/teal palette. */
.cp-books-shortcut {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  padding: 14px 18px 14px 14px;
  border: 1px solid #69cdbd;
  border-radius: 16px;
  background: linear-gradient(115deg, #102e3b, #145448);
  color: #fff !important;
  text-decoration: none;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.4;
  box-shadow: 0 10px 30px #102e3b30, 0 2px 6px #102e3b1a, inset 0 1px 0 #ffffff14;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.cp-books-shortcut__icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid #76e5ce42;
  border-radius: 11px;
  background: #76e5ce14;
  color: #8be9d5;
}
.cp-books-shortcut__icon svg { width: 25px; height: 25px; }
.cp-books-shortcut__label { display: grid; gap: 3px; min-width: 0; }
.cp-books-shortcut__label strong { color: #fff; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.cp-books-shortcut__label > span { color: #cae5df; font-size: 12px; font-weight: 400; }
.cp-books-shortcut__arrow { flex: 0 0 20px; width: 20px; height: 20px; margin-left: 4px; color: #8be9d5; transition: transform 160ms ease; }
@media (hover: hover) {
  .cp-books-shortcut:hover { transform: translateY(-2px); border-color: #9aeadb; box-shadow: 0 14px 34px #102e3b40, 0 3px 8px #102e3b20, inset 0 1px 0 #ffffff20; }
  .cp-books-shortcut:hover .cp-books-shortcut__arrow { transform: translateX(3px); }
}
.cp-books-shortcut:active { transform: translateY(0); }
.cp-books-shortcut:focus-visible { outline: 3px solid #087f70; outline-offset: 4px; }
/* On phones/tablets the shortcut owns a row above the app; it never overlays controls. */
@media (max-width: 1024px) {
  .cp-books-shortcut {
    position: static;
    display: flex;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 0 auto;
    gap: 8px;
    min-height: 48px;
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: 0 3px 12px #102e3b18;
  }
  .cp-books-shortcut__icon { flex-basis: 28px; height: 28px; border: 0; background: transparent; }
  .cp-books-shortcut__icon svg { width: 22px; height: 22px; }
  .cp-books-shortcut__label > span, .cp-books-shortcut__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-books-shortcut, .cp-books-shortcut__arrow { transition: none; }
  .cp-books-shortcut:hover, .cp-books-shortcut:hover .cp-books-shortcut__arrow { transform: none; }
}
@media print { .cp-books-shortcut { display: none; } }
