    :root {
      --ink: #181512;
      --coffee: #5a3a24;
      --paper: #fff8ec;
      --paper-edge: #e2d5bf;
      --line: #2d2823;
      --muted: #64574a;
      --accent: #b96b2e;
      --shadow: rgba(42, 23, 10, 0.23);
      --radius: 12px;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      min-height: 100vh;
      color: var(--ink);
      font-family: "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", serif;
      background:
        radial-gradient(circle at 7% 18%, rgba(205, 145, 88, 0.16), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(97, 54, 20, 0.12), transparent 25%),
        radial-gradient(circle at 75% 82%, rgba(204, 130, 64, 0.15), transparent 24%),
        linear-gradient(150deg, #f2e4cc 0%, #e3cfab 47%, #d4be98 100%);
      display: flex;
      justify-content: center;
      padding: 1.5rem;
    }

    .board {
      width: min(960px, 100%);
      border-radius: 24px;
      background: linear-gradient(160deg, #f7ead2 0%, #f0ddbe 58%, #e6ceac 100%);
      box-shadow: 0 24px 50px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.7);
      border: 1px solid rgba(91, 56, 29, 0.25);
      padding: clamp(1rem, 2.8vw, 2rem);
      position: relative;
      overflow: hidden;
    }

    .board::before,
    .board::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      border: 2px solid rgba(118, 74, 40, 0.2);
      filter: blur(0.3px);
    }

    .board::before {
      width: 160px;
      height: 160px;
      right: -30px;
      bottom: -46px;
    }

    .board::after {
      width: 95px;
      height: 95px;
      left: 18px;
      top: 70px;
    }

    .header {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 1rem;
      margin-bottom: 1rem;
      border-bottom: 2px solid rgba(63, 35, 14, 0.32);
      padding-bottom: 0.75rem;
      padding-right: 3rem;
      position: relative;
    }

    .title {
      margin: 0;
      font-size: clamp(1.35rem, 2.6vw, 2.2rem);
      letter-spacing: 0.02em;
    }

    .subtitle {
      margin: 0.15rem 0 0;
      color: var(--muted);
      font-size: 0.98rem;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #503622;
      background: linear-gradient(180deg, #f9edd8 0%, #ebd8b6 100%);
      border: 1px solid rgba(93, 55, 24, 0.25);
      padding: 0.45rem 0.7rem;
      border-radius: 999px;
      white-space: nowrap;
    }

    .journal-footer {
      margin-top: 0.9rem;
      width: min(100%, 760px);
      margin-left: auto;
      margin-right: auto;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0.35rem;
    }

    .footer-main {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 0.8rem;
      width: 100%;
    }

    .journal-controls {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 0.65rem;
      margin: 0;
      justify-self: end;
    }

    .footer-credit {
      margin-top: 0.18rem;
      text-align: center;
      font-family: var(--font-mono);
      font-size: 0.66rem;
      text-transform: uppercase;
      letter-spacing: 0.025em;
      color: #6a6a6a;
      white-space: nowrap;
    }

    .footer-contact {
      text-align: center;
      font-family: var(--font-mono);
      font-size: 0.66rem;
      letter-spacing: 0.02em;
      color: #7a7a7a;
    }

    .footer-contact a {
      color: #5a3b20;
      text-decoration: underline;
      text-underline-offset: 1px;
    }

    .footer-icon {
      font-size: 0.82rem;
      vertical-align: -0.08em;
      margin: 0 0.08rem;
    }

    .footer-icon.coffee-icon {
      display: inline-flex;
      width: 0.96rem;
      height: 0.96rem;
      vertical-align: -0.16em;
    }

    .coffee-icon svg {
      width: 100%;
      height: 100%;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.5;
    }

    .coffee-icon .cup {
      fill: #d08b3d;
      stroke: #8b5726;
    }

    .coffee-icon .handle,
    .coffee-icon .plate {
      stroke: #8b5726;
    }

    .coffee-icon .steam {
      stroke: #d77a53;
    }

    .nav-btn,
    .action-btn {
      border: 1px solid rgba(73, 43, 21, 0.35);
      border-radius: 999px;
      height: 2.1rem;
      color: #4b301d;
      background: linear-gradient(180deg, #f9ecd6 0%, #ebd7b3 100%);
      font-size: 1rem;
      line-height: 1;
      cursor: pointer;
      transition: transform 120ms ease, box-shadow 120ms ease;
      box-shadow: 0 3px 8px rgba(62, 39, 20, 0.14);
    }

    .nav-btn {
      min-width: 2.1rem;
      font-weight: 700;
    }

    .action-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 0.85rem;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-weight: 700;
    }

    .menu-toggle {
      width: 2.45rem;
      padding: 0;
    }

    .menu-icon {
      display: inline-flex;
      flex-direction: column;
      gap: 0.2rem;
      width: 1.05rem;
    }

    .menu-icon span {
      display: block;
      width: 100%;
      height: 2px;
      border-radius: 2px;
      background: currentColor;
    }

    .action-btn.active {
      color: #fff7eb;
      background: linear-gradient(180deg, #9f612f 0%, #7f4a22 100%);
      border-color: rgba(73, 43, 21, 0.45);
    }

    .action-btn[hidden] {
      display: none;
    }

    .action-btn.danger {
      color: #6f281f;
      background: linear-gradient(180deg, #f3d2c8 0%, #e8b7aa 100%);
      border-color: rgba(111, 40, 31, 0.35);
    }

    .action-btn.danger:hover {
      box-shadow: 0 4px 10px rgba(111, 40, 31, 0.25);
    }

    .nav-btn:hover:not(:disabled),
    .action-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 10px rgba(62, 39, 20, 0.2);
    }

    .nav-btn:disabled {
      cursor: not-allowed;
      opacity: 0.45;
    }

    .action-btn:disabled {
      cursor: not-allowed;
      opacity: 0.5;
      transform: none;
      box-shadow: 0 2px 6px rgba(62, 39, 20, 0.12);
    }

    .entry-indicator {
      min-width: 110px;
      text-align: right;
      font-size: 0.78rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #5a4837;
      font-weight: 700;
    }

    .action-menu {
      position: relative;
    }

    .header-edit-controls {
      position: absolute;
      top: 0;
      right: 2.95rem;
      display: flex;
      align-items: center;
      gap: 0.45rem;
    }

    .header-edit-controls .action-btn {
      height: 2.1rem;
      font-size: 0.78rem;
      padding: 0 0.85rem;
    }

    .header .action-menu {
      position: absolute;
      top: 0;
      right: 0;
    }

    .actions-panel {
      position: absolute;
      top: calc(100% + 0.35rem);
      right: 0;
      z-index: 15;
      min-width: 10.5rem;
      border: 1px solid rgba(99, 62, 33, 0.3);
      border-radius: 10px;
      background: linear-gradient(180deg, #f9ecd6 0%, #edd7b4 100%);
      box-shadow: 0 10px 24px rgba(62, 39, 20, 0.22);
      padding: 0.4rem;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }

    .actions-panel[hidden] {
      display: none;
    }

    .actions-panel .action-btn {
      width: 100%;
    }

    .book {
      display: grid;
      grid-template-columns: minmax(280px, 760px);
      justify-content: center;
    }

    .entry-meta {
      font-size: 0.76rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #7b746c;
      text-align: left;
      justify-self: start;
    }

    .import-report {
      width: min(100%, 760px);
      margin: 0.75rem auto;
      border: 1px solid rgba(88, 61, 36, 0.24);
      border-radius: 10px;
      background: linear-gradient(180deg, rgba(255, 251, 244, 0.9) 0%, rgba(247, 236, 215, 0.85) 100%);
      padding: 0.65rem 0.75rem;
      color: #4f3a28;
    }

    .import-report-title {
      font-size: 0.74rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 0.35rem;
    }

    .import-report-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.55rem;
      margin-bottom: 0.35rem;
    }

    .import-report-head .import-report-title {
      margin-bottom: 0;
    }

    .import-report-close {
      width: 1.45rem;
      height: 1.45rem;
      border-radius: 999px;
      border: 1px solid rgba(88, 61, 36, 0.32);
      background: rgba(255, 255, 255, 0.68);
      color: #5d4129;
      line-height: 1;
      font-size: 1rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
    }

    .import-report-close:hover {
      background: rgba(255, 255, 255, 0.94);
    }

    .import-report-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.55rem;
      font-size: 0.78rem;
    }

    .import-list {
      margin: 0;
      padding-left: 1rem;
      line-height: 1.35;
    }

    .import-list li {
      margin: 0.12rem 0;
    }

    .import-label {
      font-size: 0.66rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #6a5541;
      margin-bottom: 0.2rem;
      font-weight: 700;
    }

    .page {
      background: linear-gradient(180deg, #fff9ee 0%, #fff2dc 100%),
        repeating-linear-gradient(0deg, transparent 0 33px, rgba(81, 58, 37, 0.045) 33px 34px);
      border-radius: var(--radius);
      border: 1px solid var(--paper-edge);
      box-shadow: 0 8px 15px rgba(77, 52, 29, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.75);
      padding: 0.8rem;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      position: relative;
    }

    .page::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: var(--radius);
      background: radial-gradient(circle at 95% 5%, rgba(175, 113, 57, 0.06), transparent 18%);
      pointer-events: none;
    }

    .page-accent {
      position: absolute;
      top: 0.55rem;
      right: 0.6rem;
      width: 9px;
      height: 9px;
      border-radius: 999px;
      background: radial-gradient(circle at 30% 30%, #ffd9aa 0%, #bb6c30 85%);
      opacity: 0.68;
    }

    .field-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.35rem 0.75rem;
    }

    .field {
      display: flex;
      gap: 0.45rem;
      align-items: center;
      min-width: 0;
      min-height: 1.65rem;
      border-bottom: 1px dashed rgba(52, 36, 25, 0.45);
      padding-bottom: 0.15rem;
      font-size: 0.9rem;
    }

    .label {
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #4e3f32;
      white-space: nowrap;
    }

    .entry-input {
      flex: 1;
      width: 0;
      max-width: 100%;
      border: none;
      background: transparent;
      color: #24180f;
      font-size: 0.9rem;
      font-weight: 600;
      font-family: inherit;
      min-width: 0;
    }

    .entry-input[type="date"],
    select.entry-input {
      min-width: 0;
      max-width: 100%;
    }

    .price-field {
      align-items: center;
    }

    .price-controls {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      min-width: 0;
    }

    .temp-field {
      align-items: center;
    }

    .temp-controls {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      min-width: 0;
    }

    .roast-level-controls {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      min-width: 0;
    }

    .price-currency,
    .price-unit {
      flex: 0 0 auto;
      width: 4.4rem;
      padding-right: 0.1rem;
    }

    .price-unit {
      width: 3.6rem;
    }

    .temp-unit {
      flex: 0 0 auto;
      width: 2.6rem;
      padding-right: 0.1rem;
    }

    .price-separator {
      font-size: 0.72rem;
      color: #5d5d5d;
      font-weight: 700;
      line-height: 1;
    }

    .price-meta {
      font-size: 0.72rem;
      color: #5d5d5d;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .temp-meta {
      font-size: 0.72rem;
      color: #5d5d5d;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .roast-level-meta {
      font-size: 0.72rem;
      color: #5d5d5d;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .entry-input:focus,
    .entry-note:focus {
      outline: none;
      box-shadow: 0 1px 0 0 var(--coffee);
    }

    .notes {
      border: 1.5px solid var(--line);
      border-radius: 8px;
      padding: 0.45rem 0.6rem;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.1));
    }

    .entry-media {
      display: grid;
      grid-template-columns: 1.35fr 1fr;
      gap: 0.55rem;
      align-items: stretch;
    }

    .bag-photo {
      border: 1.5px solid var(--line);
      border-radius: 8px;
      padding: 0.45rem 0.6rem;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.1));
    }

    .bag-photo-preview-wrap {
      min-height: 102px;
      border: 1px dashed rgba(52, 36, 25, 0.45);
      border-radius: 6px;
      display: grid;
      place-items: center;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.4);
      position: relative;
    }

    .bag-photo-preview {
      width: 100%;
      max-height: 160px;
      object-fit: contain;
      display: block;
    }

    .bag-photo-preview[hidden],
    .bag-photo-empty[hidden],
    .bag-photo-remove[hidden] {
      display: none;
    }

    .bag-photo-preview-wrap.editable-empty {
      cursor: pointer;
    }

    .bag-photo-empty {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: #6f6f6f;
      font-weight: 700;
      padding: 0.75rem;
      text-align: center;
    }

    .bag-photo-remove {
      position: absolute;
      top: 0.25rem;
      right: 0.25rem;
      width: 1.1rem;
      height: 1.1rem;
      border: 0;
      border-radius: 999px;
      background: rgba(17, 17, 17, 0.8);
      color: #ffffff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.95rem;
      line-height: 1;
      cursor: pointer;
      padding: 0;
    }

    .bag-photo-remove:hover,
    .bag-photo-remove:focus-visible {
      background: rgba(17, 17, 17, 0.95);
      outline: 0;
    }

    .notes-title,
    .panel-title {
      font-size: 0.7rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-weight: 700;
    }

    .entry-note {
      width: 100%;
      min-height: 74px;
      resize: vertical;
      border: none;
      background: transparent;
      font-size: 0.9rem;
      font-weight: 600;
      color: #24180f;
      font-family: inherit;
      line-height: 1.45;
    }

    .entry-input:disabled,
    .entry-note:disabled,
    .method input:disabled,
    .axis-row input:disabled {
      cursor: default;
      opacity: 0.9;
    }

    .lower {
      display: grid;
      grid-template-columns: 1fr 1.75fr;
      gap: 0.55rem;
      align-items: stretch;
    }

    .panel {
      border: 1.5px solid var(--line);
      border-radius: 8px;
      padding: 0.45rem;
      background: rgba(255, 255, 255, 0.35);
    }

    .panel-title {
      margin-bottom: 0.35rem;
    }

    .rating-row {
      display: flex;
      align-items: center;
      margin-bottom: 0.55rem;
    }

    .stars {
      display: inline-flex;
      align-items: center;
      gap: 0.15rem;
      min-height: 1.3rem;
    }

    .star-btn {
      border: none;
      background: transparent;
      padding: 0;
      color: #9e7a54;
      font-size: 1.25rem;
      line-height: 1;
      cursor: pointer;
      text-shadow: 0 1px 0 rgba(49, 25, 8, 0.2);
      transition: transform 120ms ease, color 120ms ease;
    }

    .star-btn:hover,
    .star-btn:focus-visible {
      transform: translateY(-1px);
      color: #b26e33;
      outline: none;
    }

    .star-btn.active {
      color: #d37f2d;
    }

    .star-btn:disabled {
      cursor: default;
      transform: none;
      pointer-events: none;
    }

    .methods {
      display: grid;
      gap: 0.22rem;
    }

    .method {
      display: flex;
      align-items: center;
      gap: 0.42rem;
      font-size: 0.83rem;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: #2f2217;
    }

    .method input {
      accent-color: #7a4d2a;
      width: 13px;
      height: 13px;
      margin: 0;
    }

    .wheel-wrap {
      display: grid;
      grid-template-columns: minmax(190px, 240px) minmax(160px, 1fr);
      gap: 0.65rem;
      align-items: center;
      background: radial-gradient(circle at center, rgba(205, 130, 63, 0.18), transparent 54%), rgba(255, 255, 255, 0.2);
      border-radius: 6px;
      padding: 0.4rem;
    }

    .wheel {
      width: 100%;
      aspect-ratio: 1;
    }

    .wheel text {
      fill: #2e2218;
      font-size: 8px;
      font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
      letter-spacing: 0.04em;
      font-weight: 600;
    }

    .axis-controls {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.28rem;
      font-size: 0.67rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #473627;
    }

    .axis-row {
      display: grid;
      grid-template-columns: 70px 1fr;
      gap: 0.45rem;
      align-items: center;
    }

    .axis-row input[type="range"] {
      accent-color: #a35f29;
      width: 100%;
      -webkit-appearance: none;
      appearance: none;
      background: transparent;
      height: 16px;
      --slider-progress: 0%;
    }

    /* Monochrome skin, second-pass fidelity to figma reference */
    :root {
      --ink: #0f0f0f;
      --coffee: #0f0f0f;
      --paper: #ffffff;
      --paper-edge: #171717;
      --line: #151515;
      --muted: #5f5f5f;
      --accent: #111111;
      --shadow: rgba(0, 0, 0, 0.1);
      --radius: 8px;
      --font-mono: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    }

    body {
      font-family: var(--font-mono);
      background: #f3f3f3;
      color: var(--ink);
      padding: 2rem 1.5rem;
      font-size: 16px;
      line-height: 1.25;
    }

    .board {
      width: min(1040px, 100%);
      background: #ffffff;
      border: 4px solid #161616;
      border-radius: 22px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
      padding: clamp(1rem, 2.2vw, 1.4rem);
      overflow: visible;
    }

    .board::before,
    .board::after,
    .page::before,
    .page-accent {
      display: none;
    }

    .header {
      border-bottom: 1px solid #d9d9d9;
      margin-bottom: 0.8rem;
      padding-bottom: 0.55rem;
      padding-right: 2.75rem;
    }

    .title {
      font-size: clamp(1rem, 1.5vw, 1.15rem);
      letter-spacing: 0.07em;
      text-transform: uppercase;
      font-weight: 700;
    }

    .title[contenteditable="true"] {
      text-transform: none;
      border-bottom: 1px solid #1a1a1a;
      padding-bottom: 0.04rem;
      outline: 0;
      cursor: text;
    }

    .title-row {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .journal-name-edit {
      border: 0;
      background: transparent;
      color: #5f5f5f;
      width: 1rem;
      height: 1rem;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .journal-name-edit svg {
      width: 0.78rem;
      height: 0.78rem;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.35;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .journal-name-edit:hover,
    .journal-name-edit:focus-visible {
      color: #222222;
      outline: 0;
    }

    .subtitle {
      color: #737373;
      font-size: 0.66rem;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }

    .journal-url {
      margin-top: 0.18rem;
      display: flex;
      align-items: center;
      gap: 0.32rem;
      max-width: min(64vw, 620px);
    }

    .journal-url-label {
      font-family: var(--font-mono);
      font-size: 0.66rem;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      font-weight: 700;
      color: #737373;
    }

    .journal-url-value {
      display: inline-block;
      max-width: 360px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding: 0;
      border: 0;
      background: transparent;
      font-family: var(--font-mono);
      font-size: 0.66rem;
      font-weight: 600;
      color: #737373;
    }

    .action-btn.journal-url-copy {
      width: 1.15rem;
      min-width: 1.15rem;
      height: 1.15rem;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 0;
      background: transparent;
      box-shadow: none;
      color: #737373;
      border-radius: 0;
    }

    .action-btn.journal-url-copy:hover,
    .action-btn.journal-url-copy:focus-visible {
      background: transparent;
      box-shadow: none;
      border: 0;
      outline: 0;
      color: #5e5e5e;
    }

    .copy-icon {
      width: 0.72rem;
      height: 0.72rem;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.45;
      stroke-linejoin: round;
      stroke-linecap: round;
    }

    .journal-url-status {
      min-width: 2.3rem;
      font-family: var(--font-mono);
      font-size: 0.66rem;
      color: #737373;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      font-weight: 700;
    }

    .menu-toggle,
    .action-btn,
    .nav-btn {
      background: #ffffff;
      border: 2px solid #1a1a1a;
      color: #121212;
      box-shadow: none;
      border-radius: 4px;
    }

    .menu-toggle {
      width: 2.25rem;
      min-width: 2.25rem;
      height: 2.25rem;
      padding: 0;
    }

    .action-btn {
      height: 2.05rem;
      font-size: 0.74rem;
      letter-spacing: 0.055em;
      font-weight: 700;
      text-transform: uppercase;
    }

    .action-btn:hover,
    .nav-btn:hover:not(:disabled) {
      background: #f4f4f4;
      transform: none;
      box-shadow: none;
    }

    .action-btn.active {
      background: #131313;
      color: #ffffff;
      border-color: #131313;
    }

    .action-btn.danger {
      background: #ffffff;
      color: #111111;
      border-color: #191919;
    }

    .actions-panel {
      background: #ffffff;
      border: 2px solid #1a1a1a;
      border-radius: 6px;
      box-shadow: 0 8px 14px rgba(0, 0, 0, 0.08);
    }

    .journal-stage {
      width: min(100%, 980px);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: clamp(0.75rem, 2.8vw, 2.1rem);
    }

    .header,
    .book,
    .journal-footer,
    .import-report {
      width: min(100%, 840px);
      margin-left: auto;
      margin-right: auto;
    }

    .page {
      background: #ffffff;
      border: 2.5px solid #161616;
      border-radius: 0;
      box-shadow: none;
      padding: 1rem;
      gap: 0.75rem;
    }

    .field-grid {
      gap: 0.22rem 0.9rem;
    }

    .field {
      border-bottom: 1px dotted #9f9f9f;
      min-height: 2.02rem;
      padding-bottom: 0.14rem;
    }

    .label {
      color: #101010;
      font-weight: 700;
      font-size: 0.8rem;
      letter-spacing: 0.015em;
      text-transform: uppercase;
    }

    .entry-input,
    .entry-note,
    .method,
    .entry-indicator,
    .import-list {
      color: #111111;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.005em;
      font-family: var(--font-mono);
    }

    .entry-note {
      line-height: 1.34;
    }

    .notes,
    .bag-photo,
    .panel,
    .wheel-wrap,
    .import-report {
      background: #ffffff;
      border: 2px solid #171717;
      border-radius: 0;
      box-shadow: none;
    }

    .notes {
      padding: 0.5rem 0.6rem;
    }

    .notes-title,
    .panel-title,
    .import-report-title,
    .import-label {
      color: #111111;
      font-size: 0.8rem;
      letter-spacing: 0.03em;
      font-weight: 700;
      text-transform: uppercase;
    }

    .axis-controls {
      font-size: 0.72rem;
      letter-spacing: 0.02em;
      font-weight: 700;
      text-transform: uppercase;
      color: #232323;
      font-family: var(--font-mono);
    }

    .star-btn,
    .star-btn:hover,
    .star-btn:focus-visible {
      text-shadow: none;
    }

    .star-btn {
      font-size: 1.35rem;
      color: #ffffff;
      -webkit-text-stroke: 1.2px #111111;
      text-stroke: 1.2px #111111;
    }

    .star-btn.active {
      color: #111111;
      -webkit-text-stroke: 0;
      text-stroke: 0;
    }

    .method input,
    .axis-row input[type="range"] {
      accent-color: #101010;
    }

    .axis-row input[type="range"]:not(:disabled) {
      accent-color: #000000;
      filter: contrast(1.2);
    }

    .axis-row input[type="range"]:disabled {
      accent-color: #8d8d8d;
    }

    .axis-row input[type="range"]::-webkit-slider-runnable-track {
      height: 4px;
      border-radius: 999px;
      background: linear-gradient(to right, #2f2f2f 0%, #2f2f2f var(--slider-progress), #b9b9b9 var(--slider-progress), #b9b9b9 100%);
    }

    .axis-row input[type="range"]:not(:disabled)::-webkit-slider-runnable-track {
      background: linear-gradient(to right, #2f2f2f 0%, #2f2f2f var(--slider-progress), #b9b9b9 var(--slider-progress), #b9b9b9 100%);
    }

    .axis-row input[type="range"]:disabled::-webkit-slider-runnable-track {
      background: linear-gradient(to right, #a4a4a4 0%, #a4a4a4 var(--slider-progress), #d8d8d8 var(--slider-progress), #d8d8d8 100%);
    }

    .axis-row input[type="range"]:not(:disabled)::-webkit-slider-thumb {
      -webkit-appearance: none;
      margin-top: -5px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #111111;
      border: 2px solid #000000;
      box-shadow: 0 0 0 1px #000000;
    }

    .axis-row input[type="range"]:disabled::-webkit-slider-thumb {
      -webkit-appearance: none;
      margin-top: -5px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #a5a5a5;
      border: 1px solid #a5a5a5;
    }

    .axis-row input[type="range"]:not(:disabled)::-moz-range-thumb {
      background: #111111;
      border: 2px solid #000000;
    }

    .axis-row input[type="range"]::-moz-range-track {
      height: 4px;
      border: none;
      border-radius: 999px;
      background: #b9b9b9;
    }

    .axis-row input[type="range"]::-moz-range-progress {
      height: 4px;
      border-radius: 999px;
      background: #2f2f2f;
    }

    .axis-row input[type="range"]:disabled::-moz-range-track {
      background: #d8d8d8;
    }

    .axis-row input[type="range"]:disabled::-moz-range-progress {
      background: #a4a4a4;
    }

    .axis-row input[type="range"]:disabled::-moz-range-thumb {
      background: #a5a5a5;
      border: 1px solid #a5a5a5;
    }

    .wheel-wrap {
      gap: 0.4rem;
      background: #ffffff;
    }

    .wheel text {
      fill: #161616;
      font-family: var(--font-mono);
      font-size: 6.9px;
      font-weight: 700;
      letter-spacing: 0;
    }

    .journal-footer {
      margin-top: 1rem;
      align-items: center;
    }

    .entry-meta {
      text-transform: none;
      font-size: 0.9rem;
      color: #6e6e6e;
      letter-spacing: 0.01em;
      font-family: var(--font-mono);
      font-weight: 700;
    }

    .entry-indicator {
      color: #2b2b2b;
      text-transform: none;
      letter-spacing: 0.015em;
      font-size: 1rem;
      min-width: 6.5rem;
      text-align: right;
      font-weight: 700;
    }

    .nav-btn {
      width: 2.85rem;
      height: 2.85rem;
      border-radius: 50%;
      font-size: 1.4rem;
      background: #1f1f1f;
      color: #ffffff;
      border-color: #1f1f1f;
      line-height: 1;
    }

    .nav-btn:hover:not(:disabled) {
      background: #2a2a2a;
      color: #ffffff;
      border-color: #2a2a2a;
    }

    .nav-btn:disabled {
      background: #7d7d7d;
      border-color: #7d7d7d;
      color: #f2f2f2;
      opacity: 1;
    }

    @media (max-width: 960px) {
      .header {
        align-items: start;
        flex-direction: column;
        padding-right: 0;
      }

      .header .action-menu {
        position: static;
        align-self: flex-end;
      }

      .header-edit-controls {
        position: static;
        margin-top: 0.25rem;
      }

      .journal-url {
        max-width: 100%;
        margin-top: 0.25rem;
      }
    }

    @media (max-width: 730px) {
      .journal-stage {
        flex-wrap: wrap;
        align-items: stretch;
        gap: 0.45rem;
        margin-top: 0.2rem;
      }

      .journal-stage .book {
        order: 2;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
      }

      .journal-stage .nav-btn {
        order: 1;
        flex: 1 1 calc(50% - 0.225rem);
        min-width: 0;
        height: 2.35rem;
        border-radius: 8px;
        font-size: 1.2rem;
      }

      .journal-stage .nav-btn#nextEntry {
        margin-left: auto;
      }

      .field-grid,
      .lower,
      .entry-media,
      .wheel-wrap {
        grid-template-columns: 1fr;
      }

      .journal-footer {
        align-items: stretch;
      }

      .footer-main {
        grid-template-columns: 1fr auto;
      }

      .entry-meta,
      .journal-controls {
        text-align: left;
      }

      .journal-controls {
        justify-content: flex-end;
      }

      .footer-credit {
        white-space: normal;
      }

      .wheel-wrap {
        justify-items: center;
      }

      .axis-controls {
        width: 100%;
      }

      .import-report-grid {
        grid-template-columns: 1fr;
      }

      .journal-url {
        align-items: flex-start;
        gap: 0.25rem;
      }

      .journal-url-value {
        width: 100%;
        max-width: 100%;
      }
    }

    @media (max-width: 600px) {
      body {
        padding: 0.8rem;
      }

      .title {
        line-height: 1.2;
      }

      .pill {
        font-size: 0.72rem;
      }
    }
