@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --green: #233e35;
  --green-light: #e9eee8;
  --ink: #263a32;
  --muted: #73786f;
  --paper: #f7f8f4;
  --line: #e5e7df;
  --white: #fff;
  --accent: #bf8b50;
  --error: #a83e35;
  --font: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.6 var(--font);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
:focus-visible {
  outline: 3px solid #b3864a;
  outline-offset: 4px;
}
button:focus-visible {
  outline-offset: 3px;
}
svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 242px;
  background: #f0f2eb;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 35px 22px 22px;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 0 12px 47px;
  font:
    800 32px/1 "Manrope",
    sans-serif;
  letter-spacing: -1.5px;
}
.brand-icon {
  font-size: 35px;
  color: var(--green);
  font-weight: 400;
}
.brand-dot {
  color: var(--accent);
}
.brand small {
  display: block;
  font: 600 9px/2.7 var(--font);
  letter-spacing: 2.4px;
  color: #757c6d;
}
.nav-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #8a9084;
  padding-left: 15px;
  margin-bottom: 13px;
}
nav {
  display: grid;
  gap: 7px;
}
nav > a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 550;
  color: #646e61;
}
nav > a.active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 3px 6px #233e3512;
}
nav > a:hover:not(.active) {
  background: #e5e9de;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  background: #dee3d7;
  border-radius: 4px;
  min-width: 22px;
  text-align: center;
  color: #4f624f;
}
.active .nav-count {
  background: #ffffff22;
  color: white;
}
.sidebar-bottom {
  margin-top: auto;
}
.local-note {
  border: 1px solid #dce1d3;
  border-radius: 8px;
  padding: 15px 13px;
  font-size: 11px;
  background: #ecefe5;
}
.status-dot,
.saved-state i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #6b8d65;
  border-radius: 50%;
  margin-right: 6px;
}
.local-note strong {
  font-size: 11px;
}
.local-note p {
  font-size: 10px;
  line-height: 1.8;
  color: #7a8173;
  margin: 7px 0;
}
.workspace-avatar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 600;
}
.workspace-avatar > span,
.top-avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: #e3e6da;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.workspace-avatar small {
  display: block;
  color: #8b9084;
  font-size: 9px;
  font-weight: 400;
}
.workspace {
  margin-left: 242px;
}
.topbar {
  height: 78px;
  padding: 0 42px;
  background: #ffffffa0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8a8d83;
  font-size: 11px;
}
.topbar strong {
  font-weight: 500;
  color: #4b584a;
}
.topbar > div > span {
  margin: 0 14px;
  color: #bdc0b6;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar-right .saved-state {
  font-size: 10px;
  color: #79816f;
  margin: 0;
}
.topbar-right .top-avatar {
  margin: 0;
  color: #52614d;
}
main {
  padding: 36px 42px 42px;
  max-width: 1540px;
  margin: auto;
  min-height: calc(100vh - 140px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 18px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: #8a907f;
  margin: 0 0 7px;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font:
    650 29px/1.25 "Manrope",
    sans-serif;
  letter-spacing: -1px;
  margin-bottom: 7px;
}
h2 {
  font:
    700 16px/1.4 "Manrope",
    sans-serif;
  letter-spacing: -0.35px;
  margin: 0 0 4px;
}
h3 {
  font-size: 14px;
  margin: 0;
}
.subtitle {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.date-chip {
  font-size: 11px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  white-space: nowrap;
  display: flex;
  gap: 8px;
  align-items: center;
}
.date-chip svg {
  width: 15px;
  height: 15px;
}
.hero {
  position: relative;
  isolation: isolate;
  background: var(--green);
  border-radius: 11px;
  overflow: hidden;
  min-height: 202px;
  padding: 29px 33px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.hero:after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid #ffffff0b;
  border-radius: 50%;
  right: -12px;
  top: -90px;
  z-index: -1;
}
.hero .eyebrow {
  color: #c6ceba;
  font-size: 8px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.hero h2 {
  font:
    500 28px/1.25 Georgia,
    serif;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.hero p {
  font-size: 11px;
  color: #c0ccbd;
  max-width: 360px;
  margin: 0 0 19px;
  line-height: 1.8;
}
.hero .btn {
  background: #e9dfc6;
  color: #2c4235;
  border: 1px solid #e9dfc6;
  font-size: 10px;
  padding: 8px 13px;
}
.hero-art {
  width: 265px;
  position: relative;
  height: 155px;
  margin-right: 6%;
  flex-shrink: 0;
}
.hero-art .arch {
  position: absolute;
  inset: -27px 0 0 16px;
  border: 1px solid #ffffff0b;
  border-radius: 140px 140px 0 0;
  background: #ffffff03;
}
.hero-art .shelf {
  position: absolute;
  width: 250px;
  height: 6px;
  bottom: 0;
  background: #b4b99b;
  border-radius: 2px;
  box-shadow: 0 7px 12px #0003;
}
.art-book {
  position: absolute;
  bottom: 6px;
  width: 43px;
  height: 128px;
  border-radius: 3px 5px 2px 2px;
  box-shadow:
    inset 5px 0 #ffffff0b,
    inset -2px 0 #0002;
  border: 1px solid #ffffff15;
}
.art-book:after,
.art-book:before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  height: 1px;
  background: #ffffff55;
}
.art-book:before {
  top: 15px;
}
.art-book:after {
  bottom: 17px;
}
.art-book span {
  position: absolute;
  writing-mode: vertical-rl;
  left: 13px;
  top: 28px;
  color: #f0ecdcbb;
  font:
    10px Georgia,
    serif;
  letter-spacing: 1px;
}
.art-book:nth-child(2) {
  left: 28px;
  background: #b2b69e;
  height: 114px;
}
.art-book:nth-child(3) {
  left: 73px;
  background: #cba76b;
  height: 139px;
  width: 41px;
  transform: rotate(-8deg);
  transform-origin: bottom;
}
.art-book:nth-child(4) {
  left: 111px;
  background: #798f7b;
  height: 130px;
}
.art-book:nth-child(5) {
  left: 156px;
  background: #d6c6a0;
  height: 105px;
  width: 36px;
}
.art-book:nth-child(6) {
  left: 204px;
  background: #a46f54;
  height: 123px;
  width: 34px;
  transform: rotate(13deg);
  transform-origin: bottom;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
  margin-bottom: 29px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px 18px;
}
.stat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7b8373;
  font-size: 10px;
  gap: 4px;
}
.stat-head svg {
  width: 15px;
  height: 15px;
  color: #8b9781;
}
.stat-value {
  font:
    650 30px/1.3 "Manrope",
    sans-serif;
  letter-spacing: -1px;
  margin: 9px 0 5px;
}
.stat-note {
  font-size: 9px;
  color: #929788;
}
.stat-note .dot {
  color: #75926c;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(235px, 1fr);
  gap: 23px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 21px 22px 18px;
}
.panel-header p {
  font-size: 10px;
  color: #919486;
  margin: 3px 0 0;
}
.text-link {
  font-size: 10px;
  color: #526a47;
  font-weight: 600;
  white-space: nowrap;
}
.text-link span {
  margin-left: 5px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: #fafbf8;
  color: #8a907f;
  padding: 11px 20px;
  border-top: 1px solid #f0f1eb;
  border-bottom: 1px solid #f0f1eb;
  white-space: nowrap;
}
td {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f1eb;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
.table-title {
  display: block;
  font-weight: 600;
  color: #3d493b;
}
.table-sub {
  display: block;
  font-size: 10px;
  color: #8b907f;
  margin-top: 2px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  background: #edf2e8;
  color: #547148;
  font-size: 9px;
  white-space: nowrap;
  padding: 3px 7px;
}
.pill.active:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7d9969;
}
.pill.returned {
  background: #f0f1ed;
  color: #737a6a;
}
.pill.unavailable {
  background: #f8ebe6;
  color: #a56b54;
}
.quick-actions {
  padding: 0 20px 9px;
}
.quick-action {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  background: none;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf0e7;
  color: var(--ink);
}
.quick-action:last-child {
  border-bottom: 0;
}
.quick-icon {
  width: 35px;
  height: 35px;
  border: 1px solid #e6eadd;
  border-radius: 7px;
  background: #f5f6f0;
  display: grid;
  place-items: center;
  color: #768468;
}
.quick-icon svg {
  width: 17px;
  height: 17px;
}
.quick-action strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
}
.quick-action small {
  display: block;
  font-size: 9px;
  color: #939887;
}
.quick-action > span:last-child {
  margin-left: auto;
  color: #a0a791;
}
.reading-note {
  margin-top: 18px;
  border: 1px solid #e8e4d8;
  background: #f2efe5;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  gap: 13px;
}
.reading-note svg {
  color: #a28b5d;
  width: 18px;
}
.reading-note p {
  font:
    italic 14px/1.6 Georgia,
    serif;
  margin: 0 0 5px;
  color: #73745d;
}
.reading-note small {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #a19a81;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 16px;
}
.section-heading .subtitle {
  font-size: 10px;
  margin-top: 4px;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.book-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px #233e3508;
}
.cover-stage {
  height: 176px;
  background: #eeeee5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cover-stage:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: 16%;
  top: 20%;
  border: 1px solid #7772;
  border-radius: 50%;
}
.book-cover {
  position: relative;
  width: 91px;
  height: 133px;
  background: var(--cover);
  box-shadow:
    4px 5px 8px #0002,
    inset 5px 0 #0002,
    inset 7px 0 #ffffff1a;
  transform: rotate(-5deg);
  border-radius: 1px 3px 3px 1px;
  color: var(--cover-ink, #f3e8c8);
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  padding: 16px 9px 9px;
}
.book-cover:before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid currentColor;
  opacity: 0.3;
}
.book-cover .cover-title {
  font:
    15px/1.1 Georgia,
    serif;
  z-index: 1;
  margin-top: 5px;
}
.book-cover .cover-mark {
  font:
    27px/1 Georgia,
    serif;
  margin-top: auto;
  opacity: 0.7;
}
.book-cover .cover-author {
  font-size: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: auto;
}
.cover-stage .pill {
  position: absolute;
  right: 11px;
  top: 11px;
  background: #fffffff0;
}
.book-info {
  padding: 16px 17px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.book-category {
  font-size: 8px;
  color: #999680;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.book-info h3 {
  font:
    700 13px/1.5 "Manrope",
    sans-serif;
  letter-spacing: -0.25px;
}
.book-author {
  font-size: 10px;
  color: #8b8d80;
  margin: 3px 0 11px;
}
.book-description {
  font-size: 11px;
  color: #7b8173;
  margin: 0 0 15px;
  line-height: 1.7;
}
.book-inventory {
  font-size: 9px;
  color: #8d9484;
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.book-inventory strong {
  color: #465c3f;
}
.book-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.book-actions .btn {
  flex: 1;
  font-size: 10px;
  padding: 7px;
}
.book-actions .icon-btn {
  flex: 0;
}
.btn {
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.5;
}
.btn svg {
  width: 15px;
  height: 15px;
}
.btn:hover {
  filter: brightness(1.1);
}
.btn.secondary {
  border-color: var(--line);
  background: #fff;
  color: #526147;
}
.btn.tertiary {
  background: #edf1e8;
  border-color: #edf1e8;
  color: #49633e;
}
.btn.small {
  padding: 5px 10px;
  font-size: 10px;
}
.icon-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  color: #7a866f;
  display: inline-grid;
  place-items: center;
  padding: 0;
}
.icon-btn svg {
  width: 14px;
  height: 14px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 400px;
}
.search-field svg {
  position: absolute;
  top: 12px;
  left: 13px;
  width: 16px;
  height: 16px;
  color: #929a88;
}
.search-field input {
  padding-left: 38px;
  width: 100%;
  background: #fff;
}
.toolbar select {
  min-width: 145px;
}
.toolbar .result-count {
  margin-left: auto;
  font-size: 10px;
  color: #8d9483;
}
input,
select,
textarea {
  border: 1px solid #dfe3d7;
  border-radius: 6px;
  padding: 10px 12px;
  color: #34462e;
  background: #fff;
  font-size: 12px;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #9ca18f;
}
textarea {
  resize: vertical;
  min-height: 92px;
}
.tabs {
  display: flex;
  gap: 4px;
  background: #eaece4;
  border-radius: 6px;
  padding: 4px;
  margin-bottom: 20px;
  width: fit-content;
}
.tabs button {
  border: 0;
  background: transparent;
  padding: 7px 15px;
  border-radius: 4px;
  font-size: 11px;
  color: #859078;
}
.tabs button[aria-pressed="true"] {
  background: white;
  box-shadow: 0 1px 3px #0001;
  color: var(--green);
  font-weight: 600;
}
.empty {
  padding: 42px 25px;
  text-align: center;
}
.empty-icon {
  width: 47px;
  height: 47px;
  background: #f0f3e9;
  color: #819174;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
}
.empty h3 {
  font-size: 13px;
  margin-bottom: 7px;
}
.empty p {
  color: #8b9381;
  font-size: 11px;
  max-width: 330px;
  margin: 0 auto 18px;
}
.empty .btn {
  margin: 3px;
}
.empty.compact {
  padding: 30px 20px;
}
.empty.compact .empty-icon {
  width: 38px;
  height: 38px;
}
.empty.compact p {
  font-size: 10px;
}
.member-name {
  display: flex;
  align-items: center;
  gap: 11px;
}
.member-avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: #edf0e5;
  color: #79856a;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.member-id {
  font-size: 10px;
  font-family: ui-monospace, monospace;
  color: #7e8873;
}
.storage-error {
  border: 1px solid #e4c6bc;
  background: #fff0e9;
  color: #994b37;
  font-size: 12px;
  padding: 15px 19px;
  border-radius: 7px;
  margin-bottom: 24px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 19px 42px;
  border-top: 1px solid var(--line);
  color: #9ba18f;
  font-size: 9px;
}
footer > span:last-child {
  font-size: 7px;
  letter-spacing: 1.5px;
}
footer > span:last-child span {
  margin: 0 8px;
}
dialog {
  border: 1px solid #dce1d3;
  border-radius: 12px;
  padding: 0;
  width: 480px;
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  box-shadow: 0 22px 90px #13271935;
  color: var(--ink);
  background: #fff;
}
dialog.wide {
  width: 760px;
}
dialog::backdrop {
  background: #14241a66;
  backdrop-filter: blur(3px);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
}
.modal-header h2 {
  font-size: 19px;
  margin: 0;
}
.modal-header .icon-btn {
  border: 0;
}
.modal-body {
  padding: 23px 25px;
}
.modal-body > p {
  font-size: 12px;
  color: #7a8670;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 600;
}
.form-grid .field {
  margin-bottom: 0;
}
.field.full {
  grid-column: 1/-1;
}
.optional {
  color: #9a9f90;
  font-weight: 400;
}
.field small {
  color: #949c87;
  font-size: 10px;
  font-weight: 400;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
}
.form-error {
  color: #a44334;
  background: #fff0e9;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 11px;
  margin-top: 15px;
}
.form-error:empty {
  display: none;
}
.book-summary {
  display: flex;
  gap: 14px;
  padding: 15px;
  background: #f3f5ed;
  border: 1px solid #e7ebdf;
  border-radius: 7px;
  margin-bottom: 22px;
}
.book-summary svg {
  width: 23px;
  height: 23px;
  color: #8a9779;
}
.book-summary p {
  font-size: 11px;
  color: #88937a;
  margin: 3px 0 0;
}
.success-stamp {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ecf3e6;
  margin: 0 auto 16px;
  color: #6e8859;
}
.member-success {
  text-align: center;
}
.member-success h3 {
  font-size: 19px;
}
.member-success .id-display {
  display: block;
  font:
    600 28px/1.5 ui-monospace,
    monospace;
  letter-spacing: 3px;
  background: #f3f5ed;
  border: 1px dashed #c9d5bc;
  border-radius: 7px;
  padding: 14px;
  margin: 20px 0;
  color: #435e37;
}
.member-success p {
  font-size: 12px;
  color: #8b957d;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 121px);
  transform: translate(-50%, 20px);
  background: #233e35;
  color: white;
  border-radius: 8px;
  box-shadow: 0 8px 35px #14271b25;
  padding: 13px 21px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  font-size: 12px;
  max-width: calc(100vw - 32px);
  width: max-content;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.error {
  background: #8d4938;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  background: white;
  padding: 12px;
  border: 1px solid var(--green);
}
.skip-link:focus {
  top: 10px;
}
.noscript {
  position: fixed;
  inset: 20px;
  background: #fff0e9;
  padding: 30px;
  z-index: 100;
}
.initial-loading {
  padding: 60px;
  text-align: center;
  color: #7d8c70;
}
.no-results {
  grid-column: 1/-1;
}
.member-overview {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.member-overview .member-avatar {
  width: 47px;
  height: 47px;
  font-size: 15px;
}
.member-overview p {
  color: #88937c;
  font-size: 11px;
  margin: 3px 0 0;
}
.member-profile-stat {
  background: #f2f5eb;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 11px;
  margin-bottom: 20px;
  color: #748466;
}
.member-profile-stat strong {
  font-size: 20px;
  color: #405a34;
  margin-right: 6px;
}
.form-help {
  font-size: 11px;
  color: #8c967f;
  margin: 9px 0;
}
.btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@media (min-width: 1450px) {
  main {
    padding-top: 43px;
  }
  .hero {
    min-height: 225px;
  }
  .cover-stage {
    height: 200px;
  }
  .book-cover {
    width: 104px;
    height: 151px;
  }
  .book-cover .cover-title {
    font-size: 17px;
  }
  .hero h2 {
    font-size: 33px;
  }
  .hero-art {
    margin-right: 10%;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 208px;
    padding: 29px 16px 20px;
  }
  .brand {
    margin-left: 9px;
  }
  .workspace {
    margin-left: 208px;
  }
  main {
    padding: 30px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .stat {
    padding: 14px 12px;
  }
  .stat-head {
    font-size: 9px;
  }
  .stats {
    gap: 9px;
  }
  .hero-art {
    margin-right: 0;
    transform: scale(0.85);
    width: 240px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
    gap: 15px;
  }
  td,
  th {
    padding: 12px 15px;
  }
  .toast {
    left: calc(50% + 104px);
  }
}
@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    width: 190px;
    transform-origin: right center;
    transform: scale(0.7);
  }
  .hero {
    padding: 25px;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .topbar-right .saved-state {
    display: none;
  }
  .sidebar .local-note {
    padding: 12px 9px;
  }
  .date-chip {
    font-size: 10px;
  }
  .hero h2 {
    font-size: 26px;
  }
  .hero p {
    max-width: 285px;
  }
}
@media (max-width: 660px) {
  .sidebar {
    position: relative;
    width: 100%;
    padding: 18px 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 27px;
    margin: 0 0 18px 3px;
  }
  .brand-icon {
    font-size: 30px;
  }
  .brand small {
    font-size: 7px;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  nav > a {
    padding: 9px 11px;
    gap: 7px;
    font-size: 10px;
    flex-shrink: 0;
  }
  nav > a svg {
    width: 15px;
    height: 15px;
  }
  .nav-count {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 51px;
    padding: 0 20px;
    font-size: 10px;
  }
  .topbar-right .top-avatar {
    width: 25px;
    height: 25px;
    font-size: 8px;
  }
  main {
    padding: 25px 20px;
    min-height: calc(100vh - 240px);
  }
  h1 {
    font-size: 25px;
  }
  .page-heading {
    margin-bottom: 20px;
    align-items: flex-start;
  }
  .page-heading .btn {
    padding: 9px 10px;
    font-size: 10px;
  }
  .date-chip {
    display: none;
  }
  .eyebrow {
    font-size: 8px;
  }
  .subtitle {
    font-size: 11px;
  }
  .hero {
    min-height: 203px;
    padding: 24px;
  }
  .hero-art {
    position: absolute;
    right: -15px;
    opacity: 0.5;
    transform: scale(0.55);
    bottom: 25px;
    z-index: -1;
  }
  .hero p {
    max-width: 220px;
  }
  .hero h2 {
    max-width: 240px;
    font-size: 27px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat {
    padding: 14px;
  }
  .stats .stat:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .stats .stat:last-child .stat-value {
    grid-column: 2;
    grid-row: 1/3;
    margin: 0 0 0 10px;
  }
  .stat-value {
    font-size: 28px;
  }
  .book-grid {
    gap: 12px;
  }
  .cover-stage {
    height: 154px;
  }
  .book-cover {
    width: 79px;
    height: 116px;
    padding: 12px 9px 8px;
  }
  .book-cover .cover-title {
    font-size: 13px;
  }
  .book-cover .cover-mark {
    font-size: 20px;
  }
  .book-info {
    padding: 12px;
  }
  .book-info h3 {
    font-size: 12px;
  }
  .book-actions .btn {
    font-size: 9px;
  }
  .book-inventory {
    flex-wrap: wrap;
    gap: 5px 9px;
    font-size: 8px;
  }
  .book-description {
    font-size: 10px;
  }
  .cover-stage .pill {
    font-size: 8px;
    right: 6px;
    top: 7px;
  }
  footer {
    padding: 17px 20px;
    gap: 10px;
    font-size: 8px;
  }
  footer > span:last-child {
    font-size: 6px;
  }
  .toast {
    left: 50%;
  }
  .toolbar {
    gap: 9px;
  }
  .search-field {
    max-width: 100%;
    flex-basis: 100%;
  }
  .toolbar select {
    flex: 1;
  }
  .toolbar .result-count {
    margin: 0;
  }
  .panel-header {
    padding: 19px 17px;
  }
  .tabs button {
    font-size: 10px;
    padding: 7px 12px;
  }
  .modal-header {
    padding: 19px;
  }
  .modal-body {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .book-summary h3 {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
