    /* --- Entry Image Styles --- */
    .entry-images-section { margin-top: 10px; }
    .entry-images-thumbs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 8px;
    }
    .entry-image-thumb {
      position: relative;
      width: 64px; height: 64px;
      border-radius: var(--radius-sm);
      overflow: hidden;
      border: 1px solid var(--border);
      cursor: pointer;
      background: var(--surface-2);
    }
    .entry-image-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .entry-image-remove {
      position: absolute;
      top: 2px; right: 2px;
      width: 20px; height: 20px;
      border-radius: 50%;
      background: rgba(192,57,43,0.92);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      line-height: 20px;
      text-align: center;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .btn-image-attach {
      background: var(--surface-2);
      color: var(--ink-2);
      border: 1px dashed var(--border-strong);
      font-size: 0.78rem;
      padding: 8px 12px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .image-viewer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(10,15,12,0.92);
      z-index: 3000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      animation: scaleIn 0.2s var(--ease-out);
    }
    .image-viewer-img {
      max-width: 100%;
      max-height: 100%;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-xl);
    }

    /* --- Form Styles --- */
    label {
      display: block;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--ink-2);
      margin-bottom: 7px;
      letter-spacing: -0.005em;
    }
    input:not([type=checkbox]):not([type=radio]):not([type=file]),
    textarea,
    select {
      width: 100%;
      font-family: inherit;
      font-size: 1rem;
      color: var(--ink);
      background: var(--surface);
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-md);
      padding: 12px 14px;
      transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
      -webkit-appearance: none;
      appearance: none;
      -webkit-tap-highlight-color: transparent;
    }
    textarea { resize: vertical; min-height: 44px; line-height: 1.5; }
    input:focus, textarea:focus, select:focus {
      outline: none;
      border-color: var(--primary-600);
      box-shadow: 0 0 0 3px rgba(45,106,79,0.14);
    }
    input::placeholder, textarea::placeholder { color: var(--ink-3); }
    select {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B776F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      padding-right: 38px;
      cursor: pointer;
    }

    /* --- Berry Picker — jämnt responsivt rutnät (anpassar sig till valfritt antal
       bärtyper OCH skärmbredd: auto-fill fyller raden med likabreda celler). --- */
    .berry-picker {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
      gap: 7px;
    }
    .berry-option {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      padding: 5px 4px;
      background: var(--surface);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-md);
      cursor: pointer;
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--ink-2);
      text-align: center;
      line-height: 1.2;
      transition: all 0.16s var(--ease-out);
      -webkit-tap-highlight-color: transparent;
    }
    .berry-option:active { transform: scale(0.96); }
    .berry-option.selected {
      border-color: var(--primary-600);
      background: var(--primary-tint);
      color: var(--primary);
      box-shadow: 0 0 0 1px var(--primary-600) inset;
    }
    .berry-option .emoji { font-size: 1.5rem; line-height: 1; }
    .berry-icon {
      display: block;
      width: 22px; height: 22px;
      flex-shrink: 0;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }
    /* Blåbär — blå sfär med stjärnformad blomfäste-krona + daggdis */
    .berry-icon-blabar {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='23' r='12.5' fill='%233f4f9b'/%3E%3Cpath d='M8 23a12 12 0 0 1 24 0z' fill='%23586bc0' opacity='0.4'/%3E%3Ccircle cx='15' cy='19' r='3' fill='%237d8fd6' opacity='0.5'/%3E%3Ccircle cx='20' cy='13' r='2.6' fill='%232a3370'/%3E%3Cg stroke='%232a3370' stroke-width='1.6' stroke-linecap='round'%3E%3Cline x1='20' y1='13' x2='20' y2='8.6'/%3E%3Cline x1='20' y1='13' x2='23.8' y2='11.2'/%3E%3Cline x1='20' y1='13' x2='23.1' y2='15.4'/%3E%3Cline x1='20' y1='13' x2='16.9' y2='15.4'/%3E%3Cline x1='20' y1='13' x2='16.2' y2='11.2'/%3E%3C/g%3E%3C/svg%3E");
    }
    /* Lingon — två blanka röda bär med liten stjälk */
    .berry-icon-lingon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M25 13 q1.5-5 5.5-6.5' fill='none' stroke='%234e7d3f' stroke-width='1.9' stroke-linecap='round'/%3E%3Ccircle cx='15' cy='25' r='9' fill='%23cc2c2c'/%3E%3Ccircle cx='26' cy='20' r='8.5' fill='%23da3a3a'/%3E%3Ccircle cx='12' cy='22' r='2.4' fill='%23fff' opacity='0.4'/%3E%3Ccircle cx='23' cy='16.5' r='2' fill='%23fff' opacity='0.4'/%3E%3C/svg%3E");
    }
    /* Hallon — knottrig klase av delfrukter + grönt blad */
    .berry-icon-hallon {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M15 11 L20 5.5 L25 11 Z' fill='%234e7d3f'/%3E%3Cg fill='%23c23252'%3E%3Ccircle cx='20' cy='16' r='4'/%3E%3Ccircle cx='15' cy='19' r='4'/%3E%3Ccircle cx='25' cy='19' r='4'/%3E%3Ccircle cx='17.5' cy='24' r='4'/%3E%3Ccircle cx='22.5' cy='24' r='4'/%3E%3Ccircle cx='20' cy='21' r='4'/%3E%3Ccircle cx='20' cy='29' r='3.4'/%3E%3C/g%3E%3Cg fill='%23dd6480' opacity='0.7'%3E%3Ccircle cx='18.6' cy='14.6' r='1.3'/%3E%3Ccircle cx='13.6' cy='17.6' r='1.3'/%3E%3Ccircle cx='23.6' cy='17.6' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
    }
    /* Hjortron — bärnstensfärgad knottrig aggregatfrukt + grönt foderblad */
    .berry-icon-hjortron {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 13 q-4-6-8-3 q4 1 8 3z' fill='%234e7d3f'/%3E%3Cpath d='M20 13 q4-6 8-3 q-4 1-8 3z' fill='%234e7d3f'/%3E%3Cg fill='%23e0962a'%3E%3Ccircle cx='20' cy='18' r='4'/%3E%3Ccircle cx='15' cy='21' r='4'/%3E%3Ccircle cx='25' cy='21' r='4'/%3E%3Ccircle cx='17.5' cy='26' r='4'/%3E%3Ccircle cx='22.5' cy='26' r='4'/%3E%3Ccircle cx='20' cy='23' r='4'/%3E%3Ccircle cx='20' cy='31' r='3.4'/%3E%3C/g%3E%3Cg fill='%23f3bd56' opacity='0.75'%3E%3Ccircle cx='18.6' cy='16.6' r='1.3'/%3E%3Ccircle cx='13.6' cy='19.6' r='1.3'/%3E%3Ccircle cx='23.6' cy='19.6' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
    }
    /* Smultron — rött jordgubbsbär med frön + grönt foderblad */
    .berry-icon-smultron {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 15 C27 15 29 21 27.5 27 C26 33 22.5 36 20 36 C17.5 36 14 33 12.5 27 C11 21 13 15 20 15 Z' fill='%23e23636'/%3E%3Cpath d='M19 16 C15.5 16.5 13.5 19 13 23' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' opacity='0.3'/%3E%3Cg fill='%23ffd54d'%3E%3Ccircle cx='17' cy='22' r='0.95'/%3E%3Ccircle cx='22' cy='21' r='0.95'/%3E%3Ccircle cx='20' cy='26' r='0.95'/%3E%3Ccircle cx='16' cy='28' r='0.95'/%3E%3Ccircle cx='24' cy='27' r='0.95'/%3E%3Ccircle cx='20.5' cy='31' r='0.95'/%3E%3C/g%3E%3Cpath d='M20 16 C18 12 14 11 11.5 12.5 C13 16 16 16.5 20 16 Z' fill='%234e7d3f'/%3E%3Cpath d='M20 16 C22 12 26 11 28.5 12.5 C27 16 24 16.5 20 16 Z' fill='%234e7d3f'/%3E%3Cline x1='20' y1='15' x2='20' y2='8.5' stroke='%234e7d3f' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
    }
    /* Annat — neutralt bär med blad (typ ej i listan) */
    .berry-icon-annat {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M22 13 q4-5 8-3.5 q0.5 5-5 7z' fill='%236aa05a'/%3E%3Cline x1='20' y1='22' x2='25' y2='12' stroke='%234e7d3f' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='19' cy='24' r='10' fill='%238a9b8f'/%3E%3Cpath d='M9 24a10 10 0 0 1 20 0z' fill='%23a4b3a8' opacity='0.5'/%3E%3Ccircle cx='15' cy='20' r='2.4' fill='%23fff' opacity='0.35'/%3E%3C/svg%3E");
    }

    /* --- Buttons --- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      width: 100%;
      font-family: inherit;
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      padding: 13px 18px;
      border: 1px solid transparent;
      border-radius: var(--radius-md);
      background: var(--surface-2);
      color: var(--ink);
      cursor: pointer;
      transition: transform 0.12s var(--ease-out), background 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
      -webkit-tap-highlight-color: transparent;
    }
    .btn:active { transform: scale(0.98); }
    .btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .btn-primary {
      background: var(--primary);
      color: var(--on-primary);
      box-shadow: 0 2px 8px rgba(27,67,50,0.22);
    }
    .btn-primary:active { background: var(--forest-800); }
    .btn-small { width: auto; padding: 9px 14px; font-size: 0.85rem; }
    .btn-danger {
      background: transparent;
      color: var(--danger);
      border-color: rgba(192,57,43,0.28);
    }
    .btn-danger:active { background: rgba(192,57,43,0.08); }

