.owner-feedback-status {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 310;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: var(--primary-deep, #2e4a7d);
    color: #fff;
    box-shadow: 0 8px 24px rgba(29, 35, 48, .2);
    font: 700 .78rem/1.2 var(--font-sans, sans-serif);
}

.owner-feedback-marker {
    position: absolute;
    z-index: 315;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--pink-deep, #bd526d);
    box-shadow: 0 0 0 3px rgba(32, 42, 62, .72);
    pointer-events: none;
}

.owner-feedback-marker--review {
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border-width: 5px;
    background: #f1b94b;
    box-shadow: 0 0 0 4px rgba(32, 42, 62, .82), 0 0 0 11px rgba(241, 185, 75, .28);
    animation: owner-feedback-pulse 1.8s ease-in-out infinite;
}

.owner-feedback-marker--holding {
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    background: #f1b94b;
    box-shadow: 0 0 0 3px rgba(32, 42, 62, .78), 0 0 0 5px rgba(241, 185, 75, .22);
    animation: owner-feedback-hold 560ms linear forwards;
}

.owner-feedback-hold-target {
    outline: 3px solid rgba(241, 185, 75, .78) !important;
    outline-offset: 4px !important;
    -webkit-touch-callout: none;
    user-select: none;
}

.owner-feedback-target-highlight {
    outline: 3px solid #f1b94b !important;
    outline-offset: 5px !important;
}

.owner-feedback-review {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 318;
    width: min(380px, calc(100vw - 32px));
    max-height: min(420px, calc(100dvh - 96px));
    overflow: auto;
    padding: 18px 52px 18px 18px;
    border: 1px solid var(--hairline, #d9d4ca);
    border-left: 4px solid #f1b94b;
    border-radius: 8px;
    background: var(--bg, #fffdf8);
    color: var(--text, #24262b);
    box-shadow: 0 16px 44px rgba(24, 29, 41, .24);
}

.owner-feedback-review__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
}

.owner-feedback-review__comment { margin: 10px 0; font-size: 1.05rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.owner-feedback-review__context { margin: 0; color: var(--muted, #62646a); font-size: .82rem; line-height: 1.45; }

@keyframes owner-feedback-pulse {
    50% { box-shadow: 0 0 0 4px rgba(32, 42, 62, .82), 0 0 0 17px rgba(241, 185, 75, 0); }
}

@keyframes owner-feedback-hold {
    0% { transform: scale(.64); opacity: .72; }
    100% { transform: scale(1.08); opacity: 1; box-shadow: 0 0 0 3px rgba(32, 42, 62, .78), 0 0 0 13px rgba(241, 185, 75, .08); }
}

.owner-feedback-dialog {
    width: min(520px, calc(100vw - 28px));
    max-height: calc(100dvh - 28px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--hairline, #d9d4ca);
    border-radius: 8px;
    background: var(--bg, #fffdf8);
    color: var(--text, #24262b);
    box-shadow: 0 24px 70px rgba(24, 29, 41, .32);
}

.owner-feedback-dialog::backdrop { background: rgba(24, 28, 36, .48); }
.owner-feedback-dialog__form { display: grid; gap: 14px; padding: 22px; }
.owner-feedback-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.owner-feedback-dialog__head h2 { margin: 0; font-size: 1.35rem; letter-spacing: 0; }
.owner-feedback-dialog__eyebrow { margin: 0 0 3px; color: var(--primary-deep, #2e4a7d); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.owner-feedback-dialog__close { width: 40px; height: 40px; border: 1px solid var(--hairline, #d9d4ca); border-radius: 6px; background: transparent; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.owner-feedback-dialog__context { margin: 0; padding: 9px 11px; border-left: 3px solid var(--primary-deep, #2e4a7d); background: rgba(46, 74, 125, .07); font-size: .84rem; }
.owner-feedback-dialog label { font-weight: 750; }
.owner-feedback-dialog textarea { width: 100%; min-height: 132px; resize: vertical; }
.owner-feedback-dialog__error { margin: 0; color: #9f2944; font-weight: 700; }
.owner-feedback-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.owner-feedback-new[hidden] { display: none; }
.owner-feedback-toast { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 320; transform: translateX(-50%); padding: 11px 15px; border-radius: 6px; background: #1f3b32; color: #fff; font-weight: 750; box-shadow: 0 8px 24px rgba(20, 30, 26, .24); }

@media (max-width: 520px) {
    .owner-feedback-status { right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); max-width: calc(100vw - 20px); }
    .owner-feedback-dialog__form { padding: 18px; }
    .owner-feedback-dialog__actions { flex-direction: column-reverse; }
    .owner-feedback-dialog__actions .btn { width: 100%; min-height: 44px; }
    .owner-feedback-review { top: auto; right: 10px; bottom: calc(66px + env(safe-area-inset-bottom)); width: calc(100vw - 20px); max-height: min(42dvh, 360px); }
}

@media (prefers-reduced-motion: reduce) {
    .owner-feedback-dialog, .owner-feedback-toast, .owner-feedback-marker--review, .owner-feedback-marker--holding { transition: none; animation: none; }
}
