:root {
      --blush: #faf0f3;
      --line: #d8d2ee;
      --charcoal: #333238;
      --tomato: #de0f3f;
      --ballet: #f58bc3;
      --lav: #b8a7e6;
      --soft-lav: #d8d2ee;
      --cobalt: #3144d8;
      --white: #fff;
    }
.wrs-reading-app, .wrs-reading-app * { box-sizing: border-box; }
.wrs-reading-app {
      margin: 0;
      background: var(--blush);
      color: var(--charcoal);
      font-family: "DM Sans", sans-serif;
    }
.wrs-reading-app button, .wrs-reading-app input, .wrs-reading-app textarea, .wrs-reading-app select { font: inherit; }
.wrs-reading-app button { cursor: pointer; }
.wrs-reading-app button:focus-visible, .wrs-reading-app input:focus-visible, .wrs-reading-app textarea:focus-visible, .wrs-reading-app select:focus-visible {
      outline: 3px solid #aabcf5;
      outline-offset: 2px;
    }

    .app {
      width: 100%;
      min-height: 100%;
      padding: 26px clamp(16px, 4vw, 58px) 44px;
      background:
        radial-gradient(circle at 92% 3%, #f2edff 0, transparent 23%),
        var(--blush);
    }

    .top {
      max-width: 1440px;
      margin: auto;
    }

    .eyebrow {
      font-size: 11px;
      letter-spacing: .16em;
      font-weight: 700;
      color: var(--tomato);
      text-transform: uppercase;
    }

    .hand {
      font-family: "Square Peg", cursive;
      font-style: normal;
      color: var(--tomato);
      font-size: 24px;
      line-height: 1;
    }
.wrs-reading-app h1, .wrs-reading-app h2, .wrs-reading-app h3 {
      font-family: "Libre Baskerville", Georgia, serif;
      margin: 0;
    }

    .header {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin: 8px 0 30px;
      padding: 8px 0 4px;
    }

    .header p {
      margin: 9px 0 0;
      color: #69666d;
    }

    .header > .hand {
      align-self: flex-start;
      margin-top: 4px;
      padding: 4px 0 0 18px;
      font-size: 34px;
      white-space: nowrap;
    }

    .slot-title .hand,
    .wrap-header .hand {
      font-size: 20px;
      line-height: 1.05;
    }

    .tabs {
      display: flex;
      gap: 6px;
      border-bottom: 1px solid rgba(216, 210, 238, .9);
      margin-bottom: 24px;
      padding: 0 8px;
    }

    .tab {
      border: 0;
      background: transparent;
      padding: 13px 20px 12px;
      color: #726b72;
      font-weight: 700;
      border-bottom: 3px solid transparent;
      position: relative;
      transition: .18s;
    }

    .tab::after {
      content: "";
      position: absolute;
      left: 20px;
      right: 20px;
      bottom: -1px;
      height: 3px;
      border-radius: 99px;
      background: var(--ballet);
      transform: scaleX(0);
      transition: .18s;
    }

    .tab:hover { color: var(--tomato); }
    .tab.active { color: var(--charcoal); }
    .tab.active::after {
      background: var(--tomato);
      transform: scaleX(1);
    }

    .toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 17px;
      padding: 8px 0 12px;
    }

    .month-nav {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .month-nav h2 {
      font-size: 26px;
      min-width: 220px;
      text-align: center;
      position: relative;
    }

    

    .icon-btn,
    .close {
      border: 1px solid var(--lav);
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: #fff;
      color: var(--cobalt);
      font-size: 21px;
      transition: .18s;
    }

    .icon-btn:hover {
      background: var(--soft-lav);
      border-color: var(--cobalt);
    }

    .actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .soft-btn,
    .primary,
    .tiny-btn {
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      padding: 10px 14px;
      color: var(--charcoal);
      font-weight: 700;
      font-size: 13px;
      transition: .18s;
      box-shadow: 0 3px 0 rgba(40, 40, 40, .04);
    }

    .soft-btn:hover {
      transform: translateY(-1px);
    }

    /* Exact solid button colors from the current Canva version. */
    #openShelf {
      background: var(--ballet);
      border-color: var(--ballet);
      color: #282828;
    }

    #openMulti {
      background: var(--lav);
      border-color: var(--lav);
      color: #282828;
    }

    #openMonthly {
      background: var(--tomato);
      border-color: var(--tomato);
      color: #fff;
    }

    #openYearly {
      background: var(--cobalt);
      border-color: var(--cobalt);
      color: #fff;
    }

    .primary {
      background: var(--tomato);
      border-color: var(--tomato);
      color: #fff;
    }

    .blue {
      background: var(--cobalt);
      border-color: var(--cobalt);
      color: #fff;
    }

    .danger {
      color: #bd3a4c;
      border-color: #f2bdc5;
    }

    .calendar-wrap {
      background:
        linear-gradient(
          135deg,
          rgba(250, 240, 243, .72),
          rgba(216, 210, 238, .28)
        );
      border: 1px solid rgba(216, 210, 238, .72);
      border-radius: 24px;
      padding: 14px;
      box-shadow: 0 8px 24px rgba(184, 167, 230, .08);
    }

    .week {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 10px;
    }

    .dow {
      text-align: center;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .1em;
      font-weight: 700;
      color: #4b4650;
      padding: 7px 5px 8px;
      border-bottom: 2px solid #d8d2ee;
    }

    .day {
      position: relative;
      min-height: 150px;
      border: 1px solid #e2d8e8;
      border-radius: 17px;
      background: rgba(255, 252, 253, .78);
      overflow: hidden;
      padding: 22px 5px 5px;
      text-align: left;
      transition: .18s;
    }

    .day:hover {
      transform: translateY(-2px);
      border-color: var(--ballet);
      box-shadow: 0 6px 15px rgba(222, 15, 63, .08);
    }

    .day.blank {
      background: rgba(216, 210, 238, .12);
      border-color: rgba(216, 210, 238, .42);
      pointer-events: none;
    }

    .day-num {
      position: absolute;
      top: 7px;
      left: 8px;
      font-size: 12px;
      font-weight: 700;
      color: #333238;
      background: rgba(255, 240, 244, .94);
      border: 1px solid rgba(245, 139, 195, .45);
      border-radius: 99px;
      padding: 2px 6px;
      z-index: 3;
    }

    .day:has(.badge) .day-num {
      background: #f0ebff;
      border-color: #d8d2ee;
    }

    .cover-main {
      height: calc(100% - 4px);
      min-height: 118px;
      width: 100%;
      object-fit: contain;
      display: block;
    }

    .mini-cover {
      position: absolute;
      right: 5px;
      bottom: 5px;
      width: 40%;
      height: 50%;
      object-fit: contain;
      background: #fff;
      border-radius: 7px;
      border: 2px solid var(--ballet);
      z-index: 3;
    }

    .badge-row {
      position: absolute;
      bottom: 6px;
      left: 6px;
      display: flex;
      gap: 4px;
      z-index: 4;
    }

    .badge {
      font-size: 13px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: #ffe2e9;
      color: #c51d49;
      border: 1px solid #f5b4cc;
    }

    .badge.listen {
      background: #e8edff;
      color: var(--cobalt);
      border-color: #bfcafa;
    }

    .placeholder {
      height: 108px;
      border-radius: 10px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      overflow: hidden;
      padding: 9px;
      border: 1px solid #e8a8bd;
      background:
        linear-gradient(rgba(222, 15, 63, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(222, 15, 63, .04) 1px, transparent 1px),
        linear-gradient(145deg, #fff 8%, #faf0f3 58%, #f0c5d5);
      background-size: 14px 14px, 14px 14px, auto;
      color: #de0f3f;
    }

    .placeholder::after {
      content: "";
      position: absolute;
      inset: 6px;
      border: 1px dashed rgba(222, 15, 63, .3);
      border-radius: 7px;
      pointer-events: none;
    }

    .placeholder-book {
      width: min(48%, 46px);
      height: auto;
      stroke: currentColor;
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .placeholder-sparkle {
      position: absolute;
      top: 10px;
      right: 12px;
      font-size: 12px;
      line-height: 1;
      color: #f58bc3;
    }

    .placeholder-brand {
      font-family: "Courier Prime", "Courier New", monospace;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .16em;
      line-height: 1;
    }

    .placeholder.cover-main .placeholder-brand,
    .placeholder.mini-cover .placeholder-brand { display: none; }

    .placeholder.mini-cover .placeholder-sparkle { display: none; }

    .empty {
      text-align: center;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 54px 20px;
      color: #77717a;
    }

    .hidden { display: none !important; }

    .finished-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 16px;
    }

    .finished-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin: 10px 0 18px;
    }

    .finished-head h2 { margin: 0 0 4px; }
    .finished-head p { margin: 0; color: #76717a; }

    .unknown-date {
      margin-top: 7px;
      font-weight: 600;
    }

    .finished-editor-heading {
      margin-top: 10px;
      padding: 16px 0 2px;
      border-top: 1px solid var(--line);
    }

    .finished-editor-kicker {
      color: var(--tomato);
      font-family: "Courier New", monospace;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .finished-editor-heading p {
      margin: 5px 0 0;
      color: #76717a;
      font-size: 13px;
    }

    .finished-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 14px;
      display: grid;
      grid-template-columns: 76px 1fr;
      gap: 14px;
    }

    .finished-card img,
    .finished-card .placeholder {
      width: 76px;
      height: 108px;
    }

    .finished-card h3 {
      font-size: 16px;
      line-height: 1.35;
    }

    .meta {
      font-size: 12px;
      color: #77717a;
      margin: 5px 0;
    }

    .stars {
      color: var(--tomato);
      letter-spacing: 1px;
    }

    .review {
      font-size: 13px;
      line-height: 1.5;
      margin: 8px 0;
    }

    .overlay {
      position: fixed;
      inset: 0;
      z-index: 2147483000;
      background: rgba(49, 39, 45, .35);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow-y: auto;
      padding: 28px 18px;
    }

    .modal {
      position: relative;
      width: min(850px, calc(100vw - 36px));
      max-height: calc(100vh - 56px);
      overflow: auto;
      background: #fff;
      border-radius: 26px;
      padding: 25px;
      border: 1px solid var(--line);
      box-shadow: 0 18px 55px rgba(92, 52, 61, .16);
      flex: 0 0 auto;
    }

    .modal h2 {
      font-size: 24px;
      margin-bottom: 5px;
    }

    .close {
      position: absolute;
      right: 16px;
      top: 16px;
    }

    .modal-sub {
      margin: 0 0 18px;
      color: #756f76;
      font-size: 14px;
    }

    .slot {
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 16px;
      margin: 12px 0;
    }

    .slot-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .slot h3 { font-size: 17px; }

    .slot .slot-detail {
      display: flex;
      gap: 13px;
      align-items: center;
      margin-top: 12px;
    }

    .slot-detail img,
    .slot-detail .placeholder {
      width: 57px;
      height: 80px;
      flex: none;
    }

    .slot-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 12px;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 7px;
    }

    .field.full { grid-column: 1 / -1; }

    .cover-picker-field {
      border: 1px solid #eadfe5;
      border-radius: 16px;
      padding: 14px;
      background: #fffafd;
    }

    .cover-picker-main {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr);
      gap: 15px;
      align-items: center;
      margin: 4px 0 8px;
    }

    .cover-picker-preview {
      width: 96px;
      height: 142px;
      border: 1px solid #eadfe5;
      border-radius: 11px;
      overflow: hidden;
      background: #faf0f3;
    }

    .cover-picker-preview img,
    .cover-picker-preview .placeholder {
      width: 100%;
      height: 100%;
      border-radius: 0;
      object-fit: cover;
    }

    .cover-picker-actions p {
      margin: 0 0 10px;
      color: #706a71;
      font-size: 13px;
      line-height: 1.45;
    }

    .cover-tool-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .cover-tool-buttons .soft-btn {
      padding: 9px 12px;
    }

    .cover-search-status {
      min-height: 18px;
      margin: 9px 0 0 !important;
      color: #655f67 !important;
    }

    .cover-search-results {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 9px;
      margin: 8px 0 13px;
    }

    .cover-option {
      display: flex;
      flex-direction: column;
      gap: 5px;
      align-items: center;
      padding: 6px;
      border: 1px solid #e6dce2;
      border-radius: 10px;
      background: #fff;
      color: #282828;
      cursor: pointer;
      transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    }

    .cover-option:hover,
    .cover-option:focus-visible,
    .cover-option.selected {
      border-color: #3144d8;
      box-shadow: 0 0 0 2px rgba(49, 68, 216, .14);
      transform: translateY(-1px);
    }

    .cover-option img {
      width: 100%;
      aspect-ratio: 2 / 3;
      object-fit: cover;
      border-radius: 6px;
      background: #f4eef2;
    }

    .cover-option span {
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .cover-search-loading {
      grid-column: 1 / -1;
      width: 26px;
      height: 26px;
      margin: 8px auto;
      border: 3px solid #d8d2ee;
      border-top-color: #3144d8;
      border-radius: 50%;
      animation: wrs-cover-spin .7s linear infinite;
    }

    .optional-label {
      color: #8b858c;
      font-weight: 400;
    }

    @keyframes wrs-cover-spin {
      to { transform: rotate(360deg); }
    }

    @media (max-width: 720px) {
      .cover-search-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }

    @media (max-width: 480px) {
      .cover-picker-main { grid-template-columns: 76px minmax(0, 1fr); }
      .cover-picker-preview { width: 76px; height: 113px; }
      .cover-tool-buttons { flex-direction: column; align-items: stretch; }
    }
.wrs-reading-app label {
      font-size: 12px;
      font-weight: 700;
      color: #635e65;
    }
.wrs-reading-app input, .wrs-reading-app textarea, .wrs-reading-app select {
      width: 100%;
      border: 1px solid #d9ced7;
      border-radius: 12px;
      padding: 11px 12px;
      background: #fffdfd;
      color: var(--charcoal);
      box-shadow: 0 1px 0 rgba(51, 50, 56, .025);
      transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    }
.wrs-reading-app input:hover, .wrs-reading-app textarea:hover, .wrs-reading-app select:hover {
      border-color: #c7b8c4;
      background: #fff;
    }
.wrs-reading-app input:focus, .wrs-reading-app textarea:focus, .wrs-reading-app select:focus {
      border-color: #9f91db;
      background: #fff;
      box-shadow: 0 1px 0 rgba(51, 50, 56, .025);
    }
.wrs-reading-app input::placeholder, .wrs-reading-app textarea::placeholder {
      color: #a39ba2;
    }
.wrs-reading-app textarea {
      min-height: 76px;
      resize: vertical;
    }

    .book-title-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 9px;
      align-items: stretch;
    }

    .book-title-row .book-lookup-btn {
      white-space: nowrap;
      padding: 9px 14px;
    }

    .book-lookup-hint,
    .book-lookup-status {
      margin: 0;
      font-size: 12px;
      line-height: 1.45;
      color: #7a737a;
    }

    .book-lookup-status:empty,
    .book-lookup-results:empty {
      display: none;
    }

    .book-lookup-results {
      display: grid;
      gap: 7px;
      margin-top: 2px;
      padding: 8px;
      border: 1px solid #eadfe5;
      border-radius: 14px;
      background: #fffafd;
    }

    .book-lookup-result {
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 7px;
      border-radius: 10px;
      background: #fff;
      border: 1px solid #eee5ea;
    }

    .book-lookup-result img,
    .book-lookup-placeholder {
      width: 38px;
      height: 56px;
      border-radius: 6px;
      object-fit: cover;
      background: #faf0f3;
      border: 1px solid #eadfe5;
    }

    .book-lookup-placeholder {
      display: grid;
      place-items: center;
      color: var(--tomato);
      font-family: "Libre Baskerville", serif;
      font-size: 9px;
      font-weight: 700;
      letter-spacing: .05em;
    }

    .book-lookup-copy {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .book-lookup-copy strong {
      font-size: 13px;
      line-height: 1.3;
    }

    .book-lookup-copy span {
      color: #7b747b;
      font-size: 11px;
      line-height: 1.35;
    }

    .book-lookup-loading {
      width: 24px;
      height: 24px;
      margin: 7px auto;
      border: 3px solid #d8d2ee;
      border-top-color: #3144d8;
      border-radius: 50%;
      animation: wrs-cover-spin .7s linear infinite;
    }

    @media (max-width: 600px) {
      .book-title-row { grid-template-columns: 1fr; }
      .book-title-row .book-lookup-btn { width: 100%; }
      .book-lookup-result { grid-template-columns: 38px minmax(0, 1fr); }
      .book-lookup-result .tiny-btn { grid-column: 1 / -1; width: 100%; }
    }

    .modal-footer {
      display: flex;
      justify-content: flex-end;
      gap: 8px;
      margin-top: 16px;
      flex-wrap: wrap;
    }

    .book-search {
      display: flex;
      gap: 9px;
      margin: 14px 0;
    }

    .book-results {
      max-height: 280px;
      overflow: auto;
    }

    .result {
      display: grid;
      grid-template-columns: 44px 1fr auto;
      gap: 10px;
      align-items: center;
      border-top: 1px solid #f4e6e8;
      padding: 9px 0;
    }

    .result img,
    .result .placeholder {
      width: 44px;
      height: 60px;
    }

    .result strong { font-size: 14px; }

    .result small {
      display: block;
      color: #77717a;
      margin-top: 2px;
    }

    .tiny-btn {
      padding: 7px 10px;
      font-size: 11px;
    }

    .shelf-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 13px;
    }

    .shelf-card {
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 13px;
      min-height: 245px;
    }

    .shelf-card.blue-card {
      border-color: #ccd6fa;
    }

    .shelf-status {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--tomato);
    }

    .blue-card .shelf-status {
      color: var(--cobalt);
    }

    .shelf-cover {
      width: 100%;
      height: 150px;
      object-fit: contain;
      margin: 10px 0;
    }

    .multi {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .multi-pane {
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 16px;
    }

    .choice {
      display: flex;
      gap: 8px;
      margin: 10px 0;
    }

    .choice button {
      flex: 1;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 12px;
      padding: 10px;
      font-weight: 700;
    }

    .choice button.selected {
      background: #ffe8eb;
      border-color: var(--tomato);
      color: #b63a4c;
    }

    .choice button.listening.selected {
      background: #eaf0ff;
      border-color: var(--cobalt);
      color: var(--cobalt);
    }

    .mini-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 13px 0;
    }

    .mini-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 4px;
    }

    .mini-grid span {
      text-align: center;
      font-size: 10px;
      color: #9b8c94;
      padding: 3px;
    }

    .mini-day {
      border: 1px solid transparent;
      background: #fff;
      border-radius: 8px;
      aspect-ratio: 1;
      padding: 0;
      font-size: 12px;
    }

    .mini-day.selected {
      background: var(--lav);
      border-color: #afa0ee;
    }

    .range-info {
      font-size: 12px;
      color: #756f76;
      margin: 8px 0;
    }

    .wrap-stage {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 8px;
    }

    .wrap-card {
      width: min(390px, 100%);
      border-radius: 24px;
      padding: 24px;
      background:
        linear-gradient(
          145deg,
          #de0f3f 0 18%,
          #f58bc3 18% 42%,
          #b8a7e6 42% 68%,
          #3144d8 68% 100%
        );
      display: flex;
      flex-direction: column;
      gap: 18px;
      color: #282828;
    }

    .wrap-header {
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding: 13px;
      border-radius: 16px;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .42);
    }

    .wrap-header .eyebrow {
      color: #fff;
      letter-spacing: .14em;
    }

    .wrap-header h2 {
      font-size: 30px;
      line-height: 1.1;
      margin: 2px 0;
      color: #fff;
    }

    .wrap-header .hand { color: #282828; }

    .cover-cluster {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      align-items: center;
      gap: 12px;
      padding: 12px 8px;
      border-radius: 16px;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .42);
    }

    .cluster-cover {
      width: 100%;
      height: auto;
      max-height: 190px;
      aspect-ratio: 2 / 3;
      object-fit: contain;
      filter: drop-shadow(0 8px 10px rgba(40, 40, 40, .28));
    }

    .wrap-stats {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      padding: 13px;
      border-radius: 16px;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .42);
    }

    .stat {
      min-height: 54px;
      border-radius: 13px;
      background: #fff;
      padding: 8px 10px;
    }

    .stat:nth-child(2) { background: #d8d2ee; }
    .stat:nth-child(3) { background: #f58bc3; }
    .stat:nth-child(4) {
      background: #3144d8;
      color: #fff;
    }

    .stat:nth-child(5) {
      background: #fff0f4;
      border: 1px solid #de0f3f;
    }

    .stat b {
      display: block;
      font-family: "Libre Baskerville", serif;
      font-size: 22px;
      line-height: 1.05;
    }

    .stat span {
      font-size: 9px;
      color: inherit;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    @media (max-width: 700px) {
      .app { padding: 20px 12px; }
      .header {
        align-items: start;
        flex-direction: column;
      }

      .week { gap: 4px; }
      .calendar-wrap { padding: 6px; }
      .day {
        min-height: 92px;
        padding: 24px 3px 3px;
        border-radius: 11px;
      }

      .cover-main,
      .placeholder { height: 61px; }

      .mini-cover { height: 37px; }

      .badge {
        width: 19px;
        height: 19px;
        font-size: 10px;
      }

      .dow {
        font-size: 9px;
        padding: 5px 0;
      }

      .month-nav h2 {
        min-width: 150px;
        font-size: 17px;
      }

      .actions { width: 100%; }

      .soft-btn {
        flex: 1;
        padding: 9px 7px;
        font-size: 11px;
      }

      .form-grid,
      .multi,
      .shelf-grid {
        grid-template-columns: 1fr;
      }

      .modal { padding: 19px; }
      .shelf-card { min-height: 0; }
      .shelf-cover { height: 130px; }
      .finished-list { grid-template-columns: 1fr; }
    }
/* Public read-only mode */
.wrs-reading-app[data-mode="public"] .toolbar {
  justify-content: space-between;
}

@media (max-width: 760px) {
  .finished-head { align-items: flex-start; flex-direction: column; }
}
.wrs-reading-app[data-mode="public"] .day {
  cursor: default;
}
.wrs-reading-app[data-mode="public"] .day:has(.cover-main),
.wrs-reading-app[data-mode="public"] .day:has(.placeholder) {
  cursor: pointer;
}

html.wrs-modal-open,
body.wrs-modal-open {
  overflow: hidden !important;
}


.wrs-testing-tools {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.wrs-reset-btn {
  border: 1px solid #f2bdc5;
  background: #fff;
  color: #bd3a4c;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 700;
  font-size: 12px;
}

.wrs-reset-btn:hover {
  background: #fff0f4;
  border-color: #de0f3f;
  color: #de0f3f;
}


.checkbox-field {
  display: flex;
  align-items: end;
}

.check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  cursor: pointer;
}

.check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.reread-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: #faf0f3;
  border: 1px solid #f58bc3;
  font-size: 11px;
  font-weight: 700;
}


.tbr-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:10px 0 18px}.tbr-head h2{margin:0 0 4px}.tbr-head p{margin:0;color:#76717a}.tbr-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tbr-card{display:grid;grid-template-columns:92px 1fr;gap:15px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px}.tbr-cover{width:92px;aspect-ratio:2/3;object-fit:cover;border-radius:10px}.tbr-card h3{margin:0 0 5px}.tbr-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}@media(max-width:760px){.tbr-list{grid-template-columns:1fr}.tbr-head{align-items:flex-start;flex-direction:column}}


.tbr-filterbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 18px}
.tbr-chips{display:flex;flex-wrap:wrap;gap:8px}
.tbr-chip{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:8px 12px;font-size:12px;font-weight:700;cursor:pointer}
.tbr-chip.active{background:#faf0f3;border-color:#f58bc3}
.tbr-arc-toggle{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700}
.tbr-genre-group{margin-bottom:24px}
.tbr-genre-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.tbr-genre-title h3{margin:0;font-size:22px}
.tbr-genre-title span{color:#77717a;font-size:12px}
.tbr-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tbr-title-row{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}
.tbr-title-row h3{margin:0}
.arc-badge{flex:0 0 auto;display:inline-block;border-radius:999px;padding:3px 8px;background:#d8d2ee;color:#282828;font-size:10px;font-weight:800;letter-spacing:.05em}
.arc-dates{display:grid;gap:3px;margin-top:8px;font-size:12px;color:#625d66}
.arc-dates b{color:#333238}
@media(max-width:760px){.tbr-group-grid{grid-template-columns:1fr}.tbr-filterbar{align-items:flex-start;flex-direction:column}}


/* WRS v0.5.0 — two-column master TBR + shared book editor */
.tbr-filter-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tbr-sort{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:8px 12px;font-weight:700}
.tbr-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}
.tbr-card{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;gap:15px!important;align-items:start!important;border-radius:18px!important;padding:14px!important}
.tbr-cover{width:90px!important;height:135px!important;aspect-ratio:auto!important;object-fit:cover}
.tbr-card-copy{min-width:0}
.tbr-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.tbr-title-row h3{font-size:22px;margin:0 0 4px;line-height:1.08}
.tbr-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.book-tag{display:inline-block;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800;line-height:1.1}
.genre-tag{background:#f5f1ff;border:1px solid #ded6f5}
.trope-tag{background:#fff0f6;border:1px solid #f4bed0}
.more-tag{background:#fff;border:1px solid var(--line)}
.tbr-actions{gap:7px!important;margin-top:13px!important}
.tbr-actions .tiny-btn{padding:8px 10px;font-size:11px}
.edit-book-btn{background:#f7f4ff!important}
.tbr-remove{color:var(--red)!important;border-color:#f4b9c2!important;background:#fff!important}
.result-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.trope-picker{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 10px}
.trope-choice{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:8px 10px;font-size:12px;font-weight:700;cursor:pointer}
.trope-choice.selected{background:#fff0f6;border-color:var(--pink)}
.sub-label{margin-top:4px;font-size:12px}
.sub-label span{font-weight:400;color:#77717a}
.arc-editor{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fbfaff}
.arc-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px}
.arc-editor-grid.arc-disabled{opacity:.45;pointer-events:none}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:850px){
  .tbr-list{grid-template-columns:1fr!important}
}
@media(max-width:650px){
  .tbr-card{grid-template-columns:74px minmax(0,1fr)!important}
  .tbr-cover{width:74px!important;height:111px!important}
  .arc-editor-grid{grid-template-columns:1fr}
  .tbr-filter-right{width:100%}
}


/* v0.6.0 — public TBR, search, affiliate + series */
.tbr-search-wrap{flex:1 1 220px;max-width:300px}
.tbr-search-wrap input{width:100%;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px}
.tbr-filter-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.amazon-btn{display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none;background:#fff7ed!important;border-color:#f2c38a!important;color:#6b471f!important}
.public-book-link{margin-top:10px}

/* v0.9.0 — shared mood filters, finished filters, series continuation */
.filter-select{max-width:210px}
.mood-tag{background:#f0c5d5;border:1px solid #e195b1;color:#282828}
.finished-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.series-next-btn{background:#f5f1ff!important;border-color:#b8a7e6!important;color:#3144d8!important}
.series-next-btn:hover{background:#e8e3f8!important}

@media(max-width:650px){
  .filter-select,.tbr-sort{max-width:100%;width:100%}
  .finished-filterbar .tbr-search-wrap{max-width:none;width:100%}
  .modal-footer .series-next-btn,.modal-footer .primary{width:100%}
}

/* v0.9.3 — modal forms live under <body>, outside .wrs-reading-app. Scope here so Divi/theme input rules cannot flatten them. */
#modalRoot .modal input:not([type="checkbox"]):not([type="radio"]),
#modalRoot .modal textarea,
#modalRoot .modal select {
  box-sizing: border-box !important;
  width: 100% !important;
  border: 1.5px solid #d8d2ee !important;
  border-radius: 13px !important;
  background: #fffdfd !important;
  padding: 10px 13px !important;
  min-height: 43px !important;
  color: #333238 !important;
  box-shadow: 0 2px 8px rgba(40,40,40,.035) !important;
  outline: none !important;
  -webkit-appearance: auto;
  appearance: auto;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease !important;
}
#modalRoot .modal textarea {
  min-height: 82px !important;
  resize: vertical;
}
#modalRoot .modal input:not([type="checkbox"]):not([type="radio"]):hover,
#modalRoot .modal textarea:hover,
#modalRoot .modal select:hover {
  border-color: #c1b5e6 !important;
  background: #fff !important;
}
#modalRoot .modal input:not([type="checkbox"]):not([type="radio"]):focus,
#modalRoot .modal textarea:focus,
#modalRoot .modal select:focus {
  border-color: #9f91db !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(184,167,230,.16) !important;
}
#modalRoot .modal input::placeholder,
#modalRoot .modal textarea::placeholder {
  color: #9b949a !important;
  opacity: 1 !important;
}
#modalRoot .modal select {
  padding-right: 38px !important;
}
#modalRoot .book-title-row input {
  border-radius: 13px !important;
}

/* Temporarily hide the WRS editor while WordPress' media library is open. */
#modalRoot.wrs-media-picker-open {
  visibility: hidden !important;
}

/* Compact standalone [wrs_current_shelf] card. These selectors are intentionally specific
   so theme/sidebar image rules cannot stretch book covers. */
.wrs-current-shelf {
  --wrs-shelf-line: #e2d9ef;
  --wrs-shelf-text: #333238;
  --wrs-shelf-muted: #7e767e;
  --wrs-shelf-red: #de0f3f;
  --wrs-shelf-pink: #f58bc3;
  --wrs-shelf-blue: #3144d8;
  width: 100% !important;
  max-width: 360px;
  margin: 0 auto;
  padding: 15px !important;
  border: 1px solid var(--wrs-shelf-line) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg,#fff 0%,#fffafd 100%) !important;
  box-shadow: 0 8px 26px rgba(69,49,65,.07) !important;
  color: var(--wrs-shelf-text) !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  box-sizing: border-box !important;
  overflow: hidden;
}
.wrs-current-shelf *, .wrs-current-shelf *::before, .wrs-current-shelf *::after { box-sizing: border-box !important; }
.wrs-current-shelf-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 1px 2px 11px;
  border-bottom: 1px solid #f1e6ec;
}
.wrs-current-shelf-kicker {
  color: var(--wrs-shelf-red) !important;
  font-size: 8px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
}
.wrs-current-shelf-heading strong {
  margin: 0 !important;
  color: var(--wrs-shelf-text) !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}
.wrs-current-shelf-list { display: block !important; }
.wrs-current-shelf-row {
  display: grid !important;
  grid-template-columns: 52px minmax(0,1fr) !important;
  gap: 11px !important;
  align-items: center !important;
  min-width: 0 !important;
  padding: 11px 2px !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #f3e9ee !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}
.wrs-current-shelf-row:last-child { border-bottom: 0 !important; padding-bottom: 3px !important; }
.wrs-current-shelf-art {
  width: 52px !important;
  height: 76px !important;
  min-width: 52px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #faf0f3 !important;
  box-shadow: 0 3px 10px rgba(66,45,62,.09) !important;
}
.wrs-current-shelf .wrs-current-shelf-cover,
.wrs-current-shelf img.wrs-current-shelf-cover {
  display: block !important;
  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  object-position: center !important;
  aspect-ratio: auto !important;
}
.wrs-current-shelf-placeholder {
  width: 52px !important;
  height: 76px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 3px !important;
  border: 1px dashed #efb2c4 !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg,#fff8fb,#fae8ef) !important;
  color: var(--wrs-shelf-red) !important;
  font-size: 8px !important;
  line-height: 1 !important;
  letter-spacing: .1em !important;
}
.wrs-current-shelf-placeholder span { font-size: 14px !important; }
.wrs-current-shelf-copy { min-width: 0 !important; }
.wrs-current-shelf-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  max-width: 100%;
  margin: 0 0 4px !important;
  padding: 3px 7px !important;
  border-radius: 999px !important;
  background: #fff0f5 !important;
  color: var(--wrs-shelf-red) !important;
  font-size: 8px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase !important;
}
.wrs-current-shelf-row.currently-reading .wrs-current-shelf-status {
  background: #f6f2ff !important;
  color: #725fc0 !important;
}
.wrs-current-shelf-row.currently-listening .wrs-current-shelf-status {
  background: #eef0ff !important;
  color: var(--wrs-shelf-blue) !important;
}
.wrs-current-shelf .wrs-current-shelf-copy h3 {
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--wrs-shelf-text) !important;
  font-family: "Libre Baskerville", Georgia, serif !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}
.wrs-current-shelf .wrs-current-shelf-copy p {
  margin: 4px 0 0 !important;
  padding: 0 !important;
  color: var(--wrs-shelf-muted) !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
}
.wrs-current-shelf .wrs-current-shelf-copy .wrs-current-shelf-empty {
  color: #9a9198 !important;
  font-style: italic;
}
@media (max-width: 420px) {
  .wrs-current-shelf { max-width: 100%; padding: 13px !important; }
  .wrs-current-shelf-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
}
