/* Great Lakes Lavender Farm — Trade Desk messages, photos and order changes. Large, readable, calm. */
.gllf-rt-cardbar { display: grid; gap: .5rem; margin-top: .75rem; }
.gllf-rt-alert { margin: 0; padding: .65rem .85rem; border-radius: .6rem; background: #fdf3dc; color: #7a5200; font-weight: 700; }
.gllf-rt-open { display: inline-flex; align-items: center; gap: .6rem; justify-self: start; min-height: 3rem; padding: .7rem 1.1rem; border: 2px solid #5b3b82; border-radius: .7rem; background: #fff; color: #5b3b82; font-weight: 700; font-size: 1.05rem; line-height: 1.2; font-family: inherit; cursor: pointer; }
.gllf-rt-open:hover { background: #f7f4fb; }
.gllf-rt-badge { background: #b3261e; color: #fff; border-radius: 99px; padding: .15rem .55rem; font-size: .85rem; }
.gllf-rt-count { color: #3f6b45; font-size: .95rem; }
html.gllf-rt-lock { overflow: hidden; }
.gllf-rt { position: fixed; inset: 0; z-index: 2147483000; font-size: 17px; line-height: 1.5; color: #23202a; }
.gllf-rt *, .gllf-rt *::before, .gllf-rt *::after { box-sizing: border-box; }
.gllf-rt__backdrop { position: absolute; inset: 0; background: rgba(28, 20, 38, .45); }
.gllf-rt__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%); background: #f6f4f1; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,.2); animation: gllf-rt-in .22s ease-out; }
@keyframes gllf-rt-in { from { transform: translateX(40px); opacity: .5; } }
.gllf-rt__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: #5b3b82; color: #fff; }
.gllf-rt__head h2 { margin: 0; color: #fff; font-size: 1.4rem; }
.gllf-rt__eyebrow { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #e6dcf3; font-weight: 700; }
.gllf-rt__x { width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.gllf-rt__body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 1rem 1.25rem 2rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }
.gllf-rt__body > *, .gllf-rt__list > * { min-width: 0; }
.gllf-rt__summary, .gllf-rt__thread, .gllf-rt__compose, .gllf-rt__change { background: #fff; border-radius: 1rem; padding: 1rem 1.1rem; box-shadow: 0 1px 2px rgba(35,32,42,.06), 0 6px 20px rgba(35,32,42,.06); }
.gllf-rt__thread h3, .gllf-rt__addon h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.gllf-rt__date { margin: 0 0 .5rem; font-size: 1.05rem; }
.gllf-rt__lines { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .35rem; }
.gllf-rt__lines span { color: #6b6475; }
.gllf-rt__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .6rem 1rem; margin: .5rem 0 .9rem; padding: .75rem .9rem; background: #faf8fc; border-radius: .7rem; }
.gllf-rt__facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #6b6475; font-weight: 750; }
.gllf-rt__facts dd { margin: .1rem 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.gllf-rt__btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 3rem; padding: .7rem 1.15rem; border: 2px solid #d4ccdc; border-radius: .7rem; background: #fff; color: #23202a; font-weight: 700; font-size: 1rem; line-height: 1.2; font-family: inherit; cursor: pointer; text-decoration: none; }
.gllf-rt__btn--primary { background: #5b3b82; border-color: #5b3b82; color: #fff; }
.gllf-rt__btn[disabled] { opacity: .55; cursor: default; }
.gllf-rt__link { background: none; border: 0; padding: .4rem 0; color: #5b3b82; font-weight: 700; font-size: 1rem; line-height: 1.3; font-family: inherit; text-decoration: underline; cursor: pointer; display: inline-block; }
.gllf-rt__bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.gllf-rt__muted, .gllf-rt__hint { color: #6b6475; margin: .4rem 0; }
.gllf-rt__hint { font-size: .92rem; }
.gllf-rt__error { background: #fdecea; color: #a8322a; border-radius: .7rem; padding: .75rem .9rem; font-weight: 700; margin: 0; }
.gllf-rt__list { display: flex; flex-direction: column; gap: .7rem; max-height: 55vh; overflow-y: auto; padding: .25rem; }
.gllf-rt__msg { max-width: 88%; padding: .75rem .9rem; border-radius: 1rem; }
.gllf-rt__msg.is-farm { align-self: flex-start; background: #f1ebf8; border-bottom-left-radius: .35rem; }
.gllf-rt__msg.is-mine { align-self: flex-end; background: #5b3b82; color: #fff; border-bottom-right-radius: .35rem; }
.gllf-rt__who { font-size: .82rem; opacity: .8; margin-bottom: .2rem; font-weight: 650; }
.gllf-rt__text { white-space: pre-wrap; overflow-wrap: anywhere; }
.gllf-rt__thumbs { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.gllf-rt__thumbs button, .gllf-rt__grid button { padding: 0; border: 0; background: none; border-radius: .55rem; overflow: hidden; cursor: zoom-in; }
.gllf-rt__thumbs img { width: 5.5rem; height: 5.5rem; object-fit: cover; display: block; }
.gllf-rt__album { display: grid; gap: .4rem; width: 100%; margin-top: .5rem; padding: .5rem; border: 0; border-radius: .8rem; background: #fff; color: #23202a; text-align: left; cursor: zoom-in; font: inherit; }
.gllf-rt__album-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .25rem; }
.gllf-rt__album-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .45rem; display: block; }
.gllf-rt__album small { color: #6b6475; }
.gllf-rt__event { align-self: center; text-align: center; background: #eee9f3; color: #4a4453; border-radius: .9rem; padding: .45rem 1rem; font-size: .92rem; font-weight: 650; max-width: 94%; }
.gllf-rt__event small { display: block; font-weight: 500; color: #6b6475; font-size: .78rem; }
.gllf-rt__change { border-left: 6px solid #9a6a08; display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; min-width: 0; }
.gllf-rt__change--action { border: 2px solid #9a6a08; border-left-width: 6px; }
.gllf-rt__change.is-applied { border-left-color: #3f6b45; }
.gllf-rt__change.is-declined, .gllf-rt__change.is-withdrawn { border-left-color: #d4ccdc; opacity: .85; }
.gllf-rt__change-head { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.gllf-rt__change-head span { font-size: .9rem; color: #6b6475; font-weight: 700; }
.gllf-rt__change table { width: 100%; border-collapse: collapse; }
.gllf-rt__change th { text-align: left; padding: .45rem .5rem .45rem 0; border-bottom: 1px solid #ece6f0; font-weight: 650; overflow-wrap: anywhere; }
.gllf-rt__change td { padding: .45rem 0 .45rem .6rem; border-bottom: 1px solid #ece6f0; white-space: nowrap; vertical-align: top; }
@media (max-width: 560px) {
  .gllf-rt__change table, .gllf-rt__change tbody { display: block; }
  .gllf-rt__change tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 .75rem; padding: .45rem 0; border-bottom: 1px solid #ece6f0; }
  .gllf-rt__change th { grid-column: 1 / -1; border: 0; padding: 0 0 .15rem; }
  .gllf-rt__change td { border: 0; padding: 0; white-space: normal; }
  .gllf-rt__change td.now::before { content: "→ "; color: #6b6475; font-weight: 400; }
}
.gllf-rt__change .was { color: #8a8392; text-decoration: line-through; }
.gllf-rt__change .now { color: #3f6b45; font-weight: 800; }
.gllf-rt__money { margin: 0; background: #e7f1e6; color: #2f5535; border-radius: .7rem; padding: .7rem .85rem; }
.gllf-rt__note { margin: 0; font-style: italic; color: #4a4453; }
.gllf-rt__compose textarea, .gllf-rt__addon textarea { width: 100%; min-height: 5.5rem; padding: .8rem .9rem; border: 2px solid #d4ccdc; border-radius: .8rem; font-size: 1rem; line-height: 1.5; font-family: inherit; margin: .25rem 0 .6rem; }
.gllf-rt__compose textarea::placeholder, .gllf-rt__addon textarea::placeholder { color: #9a93a3; font-weight: 400; }
.gllf-rt__pending { display: flex; flex-wrap: wrap; gap: .5rem; }
.gllf-rt__pending figure { margin: 0; width: 5rem; text-align: center; font-size: .78rem; color: #6b6475; }
.gllf-rt__pending img { width: 5rem; height: 5rem; object-fit: cover; border-radius: .55rem; display: block; }
.gllf-rt__pending .is-uploading img { opacity: .5; }
.gllf-rt__pending .is-failed figcaption { color: #a8322a; font-weight: 700; }
.gllf-rt__addon { border-top: 1px solid #ece6f0; margin-top: .9rem; padding-top: .9rem; }
.gllf-rt__addon-lines { list-style: none; margin: .5rem 0 .75rem; padding: 0; display: grid; gap: .5rem; }
.gllf-rt__addon-lines li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .6rem .7rem; background: #faf8fc; border-radius: .7rem; }
.gllf-rt__addon-lines small { display: block; color: #6b6475; }
.gllf-rt__stepper { display: inline-flex; align-items: center; border: 2px solid #d4ccdc; border-radius: .6rem; overflow: hidden; background: #fff; }
.gllf-rt__stepper button { width: 2.8rem; height: 2.8rem; border: 0; background: #f7f4fb; color: #5b3b82; font-size: 1.4rem; font-weight: 800; cursor: pointer; }
.gllf-rt__stepper output { min-width: 3rem; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.gllf-rt__label { display: block; font-weight: 700; margin-top: .4rem; }
.gllf-rt__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gllf-rt__gallery, .gllf-rt__lightbox { position: fixed; inset: 0; z-index: 2147483001; background: #140e1c; color: #fff; display: flex; flex-direction: column; font-size: 17px; }
.gllf-rt__gallery-head { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; }
.gllf-rt__grid { flex: 1; overflow-y: auto; display: grid; grid-auto-rows: max-content; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .3rem; padding: .3rem .6rem; align-content: start; }
.gllf-rt__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #2a2233; }
.gllf-rt__more { text-align: center; padding: .75rem; color: #d8cfe3; min-height: 2rem; }
.gllf-rt__lightbox img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.gllf-rt__lightbox .gllf-rt__bar { justify-content: center; padding: .75rem; }
.gllf-rt__gallery .gllf-rt__btn, .gllf-rt__lightbox .gllf-rt__btn { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 640px) {
  .gllf-rt__panel { width: 100%; }
  .gllf-rt__body { padding: .8rem .8rem 2rem; }
  .gllf-rt__msg { max-width: 94%; }
}
@media (prefers-reduced-motion: reduce) { .gllf-rt__panel { animation: none; } }
