:root {
    --qp-red: #9f2d1f;
    --qp-red-dark: #7d2118;
    --qp-red-soft: #fff0e9;
    --qp-ink: #241d19;
    --qp-muted: #74655e;
    --qp-line: #e2d8d2;
    --qp-paper: #fffdfb;
    --qp-canvas: #f3efeb;
    --qp-green: #3f7048;
    --qp-shadow: 0 20px 55px rgba(56, 34, 25, .12);
}

.ep-quick-post__photo-picker[hidden],
.ep-quick-post__preview[hidden],
.ep-quick-post__photo-gallery[hidden],
.ep-quick-post__empty-guidance[hidden] {
    display: none !important;
}

body {
    background:
        radial-gradient(circle at 8% 8%, rgba(159, 45, 31, .045), transparent 28rem),
        var(--qp-canvas);
}

.ep-quick-post {
    box-sizing: border-box;
    width: min(100% - 32px, 960px);
    margin: 0 auto;
    padding: 20px 0 64px;
    color: var(--qp-ink);
    font-family: Calibri, Helvetica, Arial, sans-serif;
}

.ep-quick-post__intro {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 12px;
}


.ep-quick-post__steps {
    display: flex;
    gap: 7px;
    margin: 0 0 5px;
    padding: 0;
    list-style: none;
}

.ep-quick-post__steps li {
    display: grid;
    grid-template-columns: 24px auto;
    gap: 7px;
    align-items: center;
    color: #92837c;
    font-size: .76rem;
    font-weight: 700;
}

.ep-quick-post__step-number {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid #cfc2bc;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
    font-size: .72rem;
}

.ep-quick-post__steps li.is-current {
    color: var(--qp-red);
}

.ep-quick-post__steps li.is-current .ep-quick-post__step-number {
    border-color: var(--qp-red);
    background: var(--qp-red);
    color: #fff;
}

.ep-quick-post__steps li.is-complete .ep-quick-post__step-number {
    border-color: var(--qp-green);
    background: var(--qp-green);
    color: transparent;
    position: relative;
}

.ep-quick-post__steps li.is-complete .ep-quick-post__step-number::after {
    position: absolute;
    color: #fff;
    content: "✓";
    font-size: .78rem;
}

.ep-quick-post__editor {
    overflow: hidden;
    border: 1px solid rgba(104, 79, 68, .18);
    border-radius: 18px;
    background: var(--qp-paper);
    box-shadow: var(--qp-shadow);
}

.ep-quick-post__section-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    min-height: 62px;
    box-sizing: border-box;
    padding: 13px 18px;
    border-bottom: 1px solid var(--qp-line);
    background: #fff;
}

.ep-quick-post__section-heading > div {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.ep-quick-post__section-heading h2,
.ep-quick-post__section-heading p {
    margin: 0;
}

.ep-quick-post__section-heading h2 {
    font-size: 1rem;
}

.ep-quick-post__section-heading p {
    color: var(--qp-red);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ep-quick-post__composer {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
}

.ep-quick-post:not([data-stage="photo"]) .ep-quick-post__composer {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}

.ep-quick-post:not([data-stage="photo"]) .ep-quick-post__photo-stage,
.ep-quick-post:not([data-stage="photo"]) .ep-quick-post__preview,
.ep-quick-post:not([data-stage="photo"]) .ep-quick-post__preview img {
    min-height: 330px;
}

.ep-quick-post:not([data-stage="photo"]) .ep-quick-post__preview img {
    height: 330px;
}

.ep-quick-post__visual {
    min-width: 0;
    border-right: 1px solid var(--qp-line);
    background: #1f1b19;
}

.ep-quick-post__photo {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
}

.ep-quick-post__photo-stage {
    position: relative;
    display: grid;
    min-height: 330px;
}

.ep-quick-post__photo-picker,
.ep-quick-post__preview {
    grid-area: 1 / 1;
}

.ep-quick-post__photo-picker {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    min-height: 330px;
    padding: 25px;
    border: 0;
    background:
        linear-gradient(rgba(24, 20, 18, .36), rgba(24, 20, 18, .72)),
        radial-gradient(circle at 68% 24%, #a96745, transparent 29%),
        radial-gradient(circle at 35% 54%, #6f2f22, transparent 25%),
        linear-gradient(145deg, #3d302a, #171311);
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: filter .18s ease, transform .18s ease;
}

.ep-quick-post__photo-picker::after {
    position: absolute;
    inset: 24px;
    border: 1px dashed rgba(255, 255, 255, .48);
    border-radius: 14px;
    content: "";
    pointer-events: none;
}

.ep-quick-post__photo-picker:hover,
.ep-quick-post__photo-picker:focus-within,
.ep-quick-post__photo-picker.is-dragging {
    filter: brightness(1.09);
}

.ep-quick-post__photo-picker.is-dragging {
    transform: scale(.992);
}

.ep-quick-post__photo-prompt {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    max-width: 370px;
}

.ep-quick-post__camera-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin-bottom: 19px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 50%;
    background: rgba(0, 0, 0, .22);
}

.ep-quick-post__camera-icon svg {
    width: 31px;
    height: 31px;
}

.ep-quick-post__photo-kicker {
    margin-bottom: 7px;
    color: #f0b89c;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ep-quick-post__photo-title {
    color: #fff;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.04;
}

.ep-quick-post__photo-drop-hint {
    margin-top: 10px;
    color: rgba(255, 255, 255, .82);
    font-size: .94rem;
}

.ep-quick-post__photo-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 21px;
    border-radius: 6px;
    background: #fff;
    padding: 0 19px;
    color: var(--qp-red-dark);
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}

.ep-quick-post__photo-format {
    margin-top: 12px;
    color: rgba(255, 255, 255, .62);
    font-size: .74rem;
}

.ep-quick-post__photo-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.ep-quick-post__preview {
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 540px;
    background: #171311;
}

.ep-quick-post__preview::after {
    position: absolute;
    inset: auto 0 0;
    height: 26%;
    background: linear-gradient(transparent, rgba(0, 0, 0, .58));
    content: "";
    pointer-events: none;
}

.ep-quick-post__preview img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 540px;
    max-height: 680px;
    object-fit: cover;
}

.ep-quick-post__photo-note {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 17px;
    left: 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    color: #fff;
}

.ep-quick-post__photo-note strong,
.ep-quick-post__photo-note span {
    display: block;
}

.ep-quick-post__photo-note strong {
    font-size: 1.1rem;
}

.ep-quick-post__photo-note span {
    margin-top: 2px;
    color: rgba(255, 255, 255, .74);
    font-size: .78rem;
}

.ep-quick-post__photo-add {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 7px;
    background: rgba(24, 18, 15, .58);
    padding: 0 13px;
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
}

.ep-quick-post__photo-add:hover,
.ep-quick-post__photo-add:focus-visible {
    border-color: #fff;
    background: rgba(159, 45, 31, .92);
    outline: none;
}

.ep-quick-post__photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: #211c19;
}

.ep-quick-post__photo-item {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #15110f;
}

.ep-quick-post__photo-item.is-viewing {
    border-color: #fff;
}

.ep-quick-post__photo-thumbnail {
    display: block;
    width: 100%;
    height: 76px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.ep-quick-post__photo-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ep-quick-post__photo-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    min-height: 25px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    background: rgba(34, 25, 21, .84);
    padding: 0 8px;
    color: #fff;
    font-size: .66rem;
    font-weight: 800;
    cursor: pointer;
}

.ep-quick-post__photo-remove:hover,
.ep-quick-post__photo-remove:focus-visible {
    background: var(--qp-red);
    outline: none;
}

.ep-quick-post__privacy {
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, .11);
    background: #292320;
    color: #d8ccc5;
    font-size: .77rem;
    line-height: 1.45;
}

.ep-quick-post__privacy summary {
    padding: 12px 17px;
    color: #eee5df;
    font-weight: 700;
    cursor: pointer;
}

.ep-quick-post__privacy p {
    margin: 0;
    padding: 0 17px 14px;
}

.ep-quick-post__panel {
    min-width: 0;
    background: var(--qp-paper);
}

.ep-quick-post__empty-guidance {
    display: grid;
    align-content: center;
    min-height: 100%;
    box-sizing: border-box;
    padding: 44px 38px;
}

.ep-quick-post__empty-guidance h2 {
    max-width: 290px;
    margin: 0;
    font-size: 2rem;
    letter-spacing: -.025em;
    line-height: 1.05;
}

.ep-quick-post__empty-guidance > p {
    margin: 14px 0 27px;
    color: var(--qp-muted);
    line-height: 1.5;
}

.ep-quick-post__benefits {
    display: grid;
    gap: 17px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ep-quick-post__benefits li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    color: #4e413b;
    line-height: 1.35;
}

.ep-quick-post__benefits span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--qp-red-soft);
    color: var(--qp-red);
    font-size: .8rem;
    font-weight: 800;
}

#quick-post-form {
    display: grid;
    gap: 0;
    min-width: 0;
}

#quick-post-form[hidden] {
    display: none;
}

.ep-quick-post__panel-section {
    min-width: 0;
    padding: 23px 24px;
    border-bottom: 1px solid var(--qp-line);
}

.ep-quick-post__panel-heading {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.ep-quick-post__panel-index {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--qp-red);
    color: #fff;
    font-size: .76rem;
    font-weight: 800;
}

.ep-quick-post__panel-heading h2,
.ep-quick-post__panel-heading h3,
.ep-quick-post__panel-heading p {
    margin: 0;
}

.ep-quick-post__panel-heading h2,
.ep-quick-post__panel-heading h3 {
    font-size: 1.1rem;
    line-height: 1.25;
}

.ep-quick-post__panel-heading p {
    margin-top: 3px;
    color: var(--qp-muted);
    font-size: .82rem;
    line-height: 1.35;
}

.ep-quick-post__current-location {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    align-items: center;
    margin-bottom: 14px;
    border-radius: 9px;
    background: #f3eeea;
    padding: 11px 12px;
}

.ep-quick-post__current-location p {
    margin: 0;
    color: #4f423c;
    font-size: .82rem;
    line-height: 1.3;
}

#quick-post-location-status {
    grid-column: 1 / -1;
    color: var(--qp-muted);
    font-size: .76rem;
}

/* UPDATED: 2026-09-22 — one-page composer and location consent. */
.ep-quick-post [hidden], .ep-quick-post__location-interstitial[hidden] { display: none !important; }
.ep-quick-post__upload-status { display: grid; gap: 6px; margin-top: 10px; color: var(--qp-muted); }
.ep-quick-post__upload-status[hidden], .ep-quick-post__name-hint[hidden], .ep-quick-post__location-interstitial[hidden] { display: none !important; }
.ep-quick-post__upload-status progress { width: 100%; accent-color: var(--qp-red); }
.ep-quick-post__review-details, .ep-quick-post__restaurant-search { border: 1px solid var(--qp-line); border-radius: 12px; padding: 12px; }
.ep-quick-post__review-details summary, .ep-quick-post__restaurant-search summary { cursor: pointer; font-weight: 700; }
.ep-quick-post__review-details label, .ep-quick-post__restaurant-search label { margin-top: 12px; }
.ep-quick-post__location-interstitial { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 18px; background: rgba(30, 20, 16, .6); }
.ep-quick-post__location-dialog { width: min(100%, 420px); border-radius: 18px; background: #fff; padding: 24px; box-shadow: var(--qp-shadow); }
.ep-quick-post__location-dialog h2 { margin-top: 0; }
.ep-quick-post__location-dialog button { margin: 6px 8px 0 0; border: 0; border-radius: 999px; padding: 11px 18px; font-weight: 700; cursor: pointer; }
.ep-quick-post__location-dialog #quick-post-location-allow { background: var(--qp-red); color: #fff; }
@media (max-width: 700px) { .ep-quick-post__actions { position: sticky; bottom: 0; z-index: 10; background: #fffdfb; padding: 12px 0; box-shadow: 0 -8px 18px rgba(56, 34, 25, .08); } }

.ep-quick-post__restaurant-search {
    display: block;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    align-items: end;
    margin-bottom: 14px;
    border: 1px solid var(--qp-line);
    border-radius: 9px;
    background: #fffaf7;
    padding: 12px;
}
details.ep-quick-post__restaurant-search:not([open]) > :not(summary),
.ep-quick-post__review-details:not([open]) > :not(summary) { display: none !important; }
.ep-quick-post__restaurant-search summary { grid-column: 1 / -1; }

.ep-quick-post__restaurant-search > div strong,
.ep-quick-post__restaurant-search > div span {
    display: block;
}

.ep-quick-post__restaurant-search > div span,
#quick-post-restaurant-search-status {
    color: var(--qp-muted);
    font-size: .74rem;
    line-height: 1.35;
}

.ep-quick-post__restaurant-search label {
    font-size: .76rem;
    font-weight: 700;
}

.ep-quick-post__restaurant-search input {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    margin-top: 4px;
    border: 1px solid #d8cac3;
    border-radius: 7px;
    background: #fff;
    padding: 8px 10px;
    color: var(--qp-ink);
}

.ep-quick-post__restaurant-search button {
    min-height: 40px;
    border: 0;
    border-radius: 7px;
    background: var(--qp-red);
    padding: 0 17px;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

#quick-post-restaurant-search-status {
    grid-column: 1 / -1;
}

.ep-quick-post__restaurant-filter {
    display: block;
    margin: 0 0 10px;
    color: #4f423c;
    font-size: .76rem;
    font-weight: 700;
}

.ep-quick-post__restaurant-filter[hidden] {
    display: none;
}

.ep-quick-post__restaurant-filter input {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    margin-top: 4px;
    border: 1px solid #d8cac3;
    border-radius: 7px;
    background: #fff;
    padding: 8px 10px;
    color: var(--qp-ink);
}

@media (max-width: 760px) {
    .ep-quick-post__restaurant-search {
        grid-template-columns: 1fr 1fr;
    }

    .ep-quick-post__restaurant-search > div,
    #quick-post-restaurant-search-status {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .ep-quick-post__restaurant-search {
        grid-template-columns: 1fr;
    }

    .ep-quick-post__restaurant-search > div,
    #quick-post-restaurant-search-status {
        grid-column: 1;
    }
}

.ep-quick-post__restaurant-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 330px;
    overflow-y: auto;
    padding-right: 3px;
    scrollbar-width: thin;
}

.ep-quick-post__restaurant-option {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd2cc;
    border-radius: 9px;
    background: #fff;
    padding: 10px;
    color: var(--qp-ink);
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.ep-quick-post__restaurant-option:hover,
.ep-quick-post__restaurant-option:focus-visible {
    border-color: var(--qp-red);
    background: #fff8f5;
    transform: translateY(-1px);
    outline: none;
}

.ep-quick-post__restaurant-rank {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    background: #eee8e4;
    color: #5f514a;
    font-size: .72rem;
    font-weight: 800;
}

.ep-quick-post__restaurant-option > span {
    min-width: 0;
}

.ep-quick-post__restaurant-option strong,
.ep-quick-post__restaurant-option span,
.ep-quick-post__restaurant-option small {
    display: block;
}

.ep-quick-post__restaurant-option > .ep-quick-post__restaurant-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    line-height: 1;
    text-align: center;
}

.ep-quick-post__restaurant-option strong {
    overflow: hidden;
    font-size: .92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ep-quick-post__restaurant-option span:not(.ep-quick-post__restaurant-rank),
.ep-quick-post__restaurant-option small {
    overflow: hidden;
    margin-top: 2px;
    color: var(--qp-muted);
    font-size: .74rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ep-quick-post__restaurant-distance {
    min-width: 60px;
    color: var(--qp-red) !important;
    font-size: .72rem !important;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.ep-quick-post__restaurant-confirmed {
    border-color: #8cb494;
    background: #f1f8f2;
}

.ep-quick-post__restaurant-confirmed .ep-quick-post__restaurant-rank {
    background: var(--qp-green);
    color: #fff;
}

.ep-quick-post__restaurant-confirmed .ep-quick-post__restaurant-distance {
    color: var(--qp-green) !important;
}

.ep-quick-post__restaurant-unselect {
    border: 1px solid #9f776e;
    border-radius: 6px;
    background: #fff;
    padding: 7px 9px;
    color: var(--qp-red);
    font-size: .72rem;
    font-weight: 800;
    cursor: pointer;
}

.ep-quick-post__restaurant-option.is-osm {
    border-left: 3px solid #668e6d;
}

.ep-quick-post__restaurant-actions {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.ep-quick-post__osm-attribution {
    margin: 0;
    color: #8a7c75;
    font-size: .68rem;
}

.ep-quick-post__osm-attribution a {
    color: #6f5e55;
}

.ep-quick-post__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.ep-quick-post__field--dish {
    grid-column: 1 / -1;
}

#quick-post-form label,
.ep-quick-post__field-label {
    display: grid;
    gap: 6px;
    color: #443832;
    font-size: .79rem;
    font-weight: 800;
}

#quick-post-form label span {
    color: var(--qp-muted);
    font-weight: 400;
}

#quick-post-form input,
#quick-post-form select,
#quick-post-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cfc3bd;
    border-radius: 7px;
    background: #fff;
    color: var(--qp-ink);
    font: inherit;
    padding: 10px 11px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

#quick-post-form input:focus,
#quick-post-form select:focus,
#quick-post-form textarea:focus {
    border-color: var(--qp-red);
    box-shadow: 0 0 0 3px rgba(159, 45, 31, .1);
    outline: none;
}

#quick-post-form textarea {
    height: auto;
    min-height: 88px;
    resize: vertical;
}

/* Explicit sizing overrides the legacy global input height and type styles. */
#quick-post-form input:not([type="checkbox"]),
#quick-post-form select:not(.ep-quick-post__sr-only) {
    height: 44px;
    min-height: 44px;
    font-size: 16px;
    font-weight: 400;
    box-shadow: none;
}
#quick-post-form textarea { font-size: 16px; font-weight: 400; }
#quick-post-form .ep-quick-post__label-text { color: #443832; font-weight: 800; }
.ep-quick-post__search-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-top: 12px; }
#quick-post-restaurant-search { min-height: 44px; margin: 0; }
#quick-post-restaurant-search-status { display: block; margin-top: 8px; }
.ep-quick-post.is-published .ep-quick-post__photo-input,
.ep-quick-post.is-published .ep-quick-post__photo-add,
.ep-quick-post.is-published .ep-quick-post__photo-gallery,
.ep-quick-post.is-published .ep-quick-post__privacy { display: none !important; }
.ep-quick-post.is-published.is-photo-free .ep-quick-post__visual { display: none; }
.ep-quick-post.is-published.is-photo-free .ep-quick-post__composer { grid-template-columns: minmax(0, 1fr); }

.ep-quick-post__rating {
    display: flex;
    gap: 2px;
    min-height: 41px;
    align-items: center;
}

.ep-quick-post__rating button {
    border: 0;
    background: transparent;
    padding: 2px;
    color: #d9d0cb;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
}

.ep-quick-post__rating button:hover,
.ep-quick-post__rating button:focus-visible,
.ep-quick-post__rating button.is-selected {
    color: #d48d1e;
    outline: none;
}

.ep-quick-post__sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.ep-quick-post__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    padding: 16px 24px 20px;
}
.ep-quick-post__public-note { grid-column: 1 / -1; margin: 0; color: var(--qp-muted); font-size: .8rem; line-height: 1.45; }

@media (max-width: 520px) {
    #quick-post-form .ep-quick-post__actions { padding: 16px 17px; }
    .ep-quick-post__search-fields { grid-template-columns: minmax(0, 1fr); }
}

.ep-quick-post__actions button,
.ep-quick-post__quiet {
    min-height: 40px;
    border: 0;
    border-radius: 7px;
    padding: 0 14px;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
}

#quick-post-publish {
    grid-column: 1 / -1;
    min-height: 48px;
    background: var(--qp-red);
    color: #fff;
    font-size: .95rem;
    box-shadow: 0 8px 20px rgba(159, 45, 31, .18);
}

#quick-post-publish:hover,
#quick-post-publish:focus-visible {
    background: var(--qp-red-dark);
}

#quick-post-publish:disabled {
    background: #b9aea9;
    box-shadow: none;
    cursor: not-allowed;
}

.ep-quick-post__quiet {
    background: #eee7e3;
    color: #643027;
}

.ep-quick-post__danger {
    border: 1px solid #d9c7c0 !important;
    background: transparent;
    color: #8e352b;
}

.ep-quick-post__message {
    min-height: 1.2em;
    padding: 0 24px 16px;
    color: #6a2d28;
    font-size: .8rem;
}

.ep-quick-post__message:empty {
    display: none;
}

.ep-quick-post__message.is-error {
    color: #a11212;
}

.ep-quick-post__success {
    margin: 24px;
    border: 1px solid #a9c9ae;
    border-radius: 12px;
    background: #f0f8f1;
    padding: 22px;
}

.ep-quick-post__success h2,
.ep-quick-post__success p {
    margin: 0;
}

.ep-quick-post__success h2 {
    color: #2f5c37;
}

.ep-quick-post__success p {
    margin-top: 6px;
    color: #506e55;
}

.ep-quick-post__success-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.ep-quick-post__success-links a {
    border-radius: 6px;
    background: var(--qp-green);
    padding: 9px 13px;
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}

.ep-quick-post__progress {
    margin-top: 18px;
    border: 1px solid #dfd3cd;
    border-radius: 12px;
    background: rgba(255, 253, 251, .76);
    padding: 14px 17px;
}

.ep-quick-post__progress summary {
    color: #653127;
    font-size: .84rem;
    font-weight: 800;
    cursor: pointer;
}

.ep-quick-post__progress-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.ep-quick-post__progress-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e2d7d1;
    border-radius: 9px;
    background: #fff;
    padding: 7px;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.ep-quick-post__progress-item:hover,
.ep-quick-post__progress-item:focus-visible,
.ep-quick-post__progress-item[aria-current="true"] {
    border-color: var(--qp-red);
    outline: none;
}

.ep-quick-post__progress-image {
    width: 54px;
    height: 54px;
    border-radius: 6px;
    background: #e8e0dc center / cover no-repeat;
}

.ep-quick-post__progress-item strong,
.ep-quick-post__progress-item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ep-quick-post__progress-item small {
    margin-top: 3px;
    color: var(--qp-muted);
    font-size: .73rem;
}

@media (max-width: 860px) {
    .ep-quick-post {
        width: min(100% - 24px, 680px);
        padding-top: 24px;
    }


    .ep-quick-post__steps {
        margin: 0;
    }

    .ep-quick-post__composer,
    .ep-quick-post:not([data-stage="photo"]) .ep-quick-post__composer {
        grid-template-columns: 1fr;
    }

    .ep-quick-post__restaurant-list {
        grid-template-columns: 1fr;
    }

    .ep-quick-post__visual {
        border-right: 0;
        border-bottom: 1px solid var(--qp-line);
    }

    .ep-quick-post__photo-stage,
    .ep-quick-post__photo-picker,
    .ep-quick-post__preview,
    .ep-quick-post__preview img {
        min-height: 260px;
    }

    .ep-quick-post__empty-guidance {
        min-height: auto;
        padding: 30px 25px;
    }

    .ep-quick-post__progress-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .ep-quick-post {
        width: 100%;
        padding: 16px 0 40px;
    }

    .ep-quick-post__intro {
        padding: 0 16px;
    }


    .ep-quick-post__steps {
        width: 100%;
        justify-content: space-between;
    }

    .ep-quick-post__steps li {
        grid-template-columns: 24px;
        justify-items: center;
        gap: 4px;
    }

    .ep-quick-post__editor {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .ep-quick-post__section-heading {
        padding-right: 15px;
        padding-left: 15px;
    }

    .ep-quick-post__section-heading > div {
        display: block;
    }

    .ep-quick-post__photo-stage,
    .ep-quick-post__photo-picker,
    .ep-quick-post__preview,
    .ep-quick-post__preview img {
        min-height: 220px;
    }

    .ep-quick-post__photo-picker {
        padding: 28px;
    }

    .ep-quick-post__photo-picker::after {
        inset: 16px;
    }

    .ep-quick-post__panel-section {
        padding: 21px 17px;
    }

    .ep-quick-post__fields {
        grid-template-columns: 1fr;
    }

    .ep-quick-post__field--dish {
        grid-column: auto;
    }

    .ep-quick-post__current-location {
        grid-template-columns: 1fr;
    }

    .ep-quick-post__restaurant-list {
        max-height: 340px;
    }

    .ep-quick-post__restaurant-option {
        grid-template-columns: 26px minmax(0, 1fr);
    }

    .ep-quick-post__restaurant-distance {
        grid-column: 2;
        min-width: 0;
        margin-top: 4px !important;
        text-align: left;
    }

    .ep-quick-post__restaurant-unselect { grid-column: 2; justify-self: start; min-height: 40px; }

    .ep-quick-post__progress {
        margin: 14px 12px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ep-quick-post *,
    .ep-quick-post *::before,
    .ep-quick-post *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

#quick-post-form > .ep-quick-post__panel-heading {
    margin: 0;
    padding: 22px 24px 0;
}

#quick-post-form > .ep-quick-post__current-location {
    margin: 14px 24px 0;
}

.ep-quick-post__panel-heading--compact {
    margin-bottom: 12px;
}

.ep-quick-post__map-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #d8ccc6;
    border-radius: 9px;
    background: #e8e3df;
}

.ep-quick-post__map {
    z-index: 0;
    width: 100%;
    height: 190px;
}

.ep-quick-post__map-status {
    position: absolute;
    z-index: 500;
    right: 8px;
    bottom: 7px;
    max-width: calc(100% - 16px);
    margin: 0;
    border-radius: 4px;
    background: rgba(255, 253, 251, .92);
    padding: 4px 7px;
    color: #63554e;
    font-size: .68rem;
    box-shadow: 0 2px 8px rgba(42, 31, 26, .15);
}

.ep-quick-post__map-status:empty {
    display: none;
}

.ep-quick-post__map-wrap.is-unavailable .ep-quick-post__map-status {
    position: static;
    max-width: none;
    padding: 14px;
    box-shadow: none;
}

.ep-quick-post__map .leaflet-control-attribution {
    font-size: 8px;
}

.ep-quick-post__map-marker {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 5px;
    background: var(--qp-red);
    color: #fff;
    font: 800 11px/1 Calibri, Arial, sans-serif;
    box-shadow: 0 2px 7px rgba(47, 26, 18, .35);
    transform: rotate(-45deg);
}

.ep-quick-post__map-marker span {
    transform: rotate(45deg);
}

.ep-quick-post__field-label {
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
}

.ep-quick-post__field-label legend {
    padding: 0;
}

@media (max-width: 520px) {
    #quick-post-form > .ep-quick-post__panel-heading {
        padding: 21px 17px 0;
    }

    #quick-post-form > .ep-quick-post__current-location {
        margin-right: 17px;
        margin-left: 17px;
    }

    .ep-quick-post__map {
        height: 175px;
    }
}
.ep-quick-post__none-choice { display: flex !important; align-items: center; gap: 8px; margin: 12px 0; font-weight: 700; }
#quick-post-form .ep-quick-post__none-choice input[type="checkbox"] { width: auto; flex: 0 0 auto; margin: 0; }
.ep-quick-post__panel-section--restaurant.is-unmatched .ep-quick-post__restaurant-list,
.ep-quick-post__panel-section--restaurant.is-unmatched #quick-post-show-all,
.ep-quick-post__panel-section--restaurant.is-unmatched #quick-post-show-map,
.ep-quick-post__panel-section--restaurant.is-unmatched #quick-post-map-wrap,
.ep-quick-post__panel-section--restaurant.is-unmatched #quick-post-search-details,
.ep-quick-post__panel-section--restaurant.is-unmatched .ep-quick-post__restaurant-actions { display: none !important; }

/* UPDATED: 2026-09-23 — compact, touch-first photo picker on phones. */
@media (max-width: 520px) {
    .ep-quick-post__visual {
        background: #fffdfb;
    }

    .ep-quick-post__photo-stage,
    .ep-quick-post__photo-picker,
    .ep-quick-post:not([data-stage="photo"]) .ep-quick-post__photo-stage {
        min-height: 72px;
    }

    .ep-quick-post__photo-picker {
        padding: 12px 17px;
        background: #fffdfb;
        color: var(--qp-ink);
    }

    .ep-quick-post__photo-picker::after,
    .ep-quick-post__camera-icon,
    .ep-quick-post__photo-kicker,
    .ep-quick-post__photo-title,
    .ep-quick-post__photo-drop-hint,
    .ep-quick-post__photo-format,
    .ep-quick-post__photo-note span,
    .ep-quick-post__privacy {
        display: none;
    }

    .ep-quick-post__photo-prompt {
        width: 100%;
        max-width: none;
    }

    .ep-quick-post__photo-action {
        width: 100%;
        min-height: 48px;
        box-sizing: border-box;
        margin: 0;
        background: var(--qp-red);
        color: #fff;
        box-shadow: none;
    }

    .ep-quick-post__photo-picker:hover,
    .ep-quick-post__photo-picker:focus-within {
        filter: none;
    }

    .ep-quick-post__preview,
    .ep-quick-post__preview img,
    .ep-quick-post:not([data-stage="photo"]) .ep-quick-post__preview,
    .ep-quick-post:not([data-stage="photo"]) .ep-quick-post__preview img {
        min-height: 160px;
    }

    .ep-quick-post__preview img,
    .ep-quick-post:not([data-stage="photo"]) .ep-quick-post__preview img {
        height: 160px;
    }
}
