/* POI_CARD_EDITOR_R1 */
    .flag-stripe { display: flex; height: 6px; }
    .flag-stripe .f1 { flex: 1; background: var(--green); }
    .flag-stripe .f2 { flex: 1; background: #fff; }
    .flag-stripe .f3 { flex: 1; background: var(--red); }
    .topbar {
      background: var(--dark); color: white; display: flex; justify-content: space-between;
      align-items: center; padding: 8px 12px; gap: 8px; flex-wrap: wrap;
    }
    .topbar-nav, .topbar-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
    .topbar-brand { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.08em; font-size: 1.15rem; }
    .topbar-brand .la { color: var(--green); }
    .topbar-brand .dot { color: var(--red); }
    .btn-auth {
      background: rgba(245,230,66,0.15); border: 1px solid rgba(245,230,66,0.35); color: var(--lemon);
      padding: 4px 12px; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.08em;
      text-transform: uppercase; cursor: pointer;
    }
    .auth-panel-wrap { position: relative; }
    .auth-panel {
      display: none; position: absolute; top: calc(100% + 8px); right: 0; width: min(280px, 86vw);
      background: var(--dark); border: 1px solid rgba(245,230,66,0.3); padding: 16px; z-index: 20;
    }
    .auth-panel.open { display: block; }
    .auth-panel-title { font-family: 'Bebas Neue', sans-serif; color: var(--lemon); font-size: 1.2rem; margin-bottom: 12px; }
    .auth-panel input[type="email"], .auth-panel input[type="password"] {
      width: 100%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
      color: white; padding: 8px 10px; margin-bottom: 8px;
    }
    .btn-magic-link, .btn-logout {
      font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
    }
    .btn-magic-link { background: var(--lemon); color: var(--dark); border: none; padding: 10px; font-weight: 700; }
    .btn-logout { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.75); padding: 6px 12px; }
    .auth-panel-note, .auth-user-info { color: rgba(255,255,255,0.65); font-size: 0.78rem; }
    .auth-user-email { color: var(--lemon); display: block; }
body.poi-editor-page {--lemon:#f5e642;--edit-paper:#f7f3ec;--edit-ink:#241d15;--edit-field:#fff;--edit-border:#c9c0b2;margin:0;background:#dfdcd5;color:var(--edit-ink);font-family:'Barlow',Arial,sans-serif}
.poi-editor-page .page {max-width:980px;min-height:100dvh;background:var(--edit-paper)}
.poi-editor-wrap {padding-bottom:40px}
.poi-editor-heading {display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:14px}
.poi-editor-heading h1 {font-family:'Bebas Neue',sans-serif;font-size:2rem;margin:0;color:inherit}
.poi-editor-page [hidden] {display:none!important}
.poi-editor-page .btn {min-height:44px;font-family:inherit;letter-spacing:0;text-transform:none;white-space:normal;font-size:.9rem;border-radius:10px;cursor:pointer}
.poi-editor-page .btn:disabled {opacity:.55;cursor:wait}
.poi-editor-page .btn-green {background:#007b3e;color:#fff;border-color:#007b3e}
.poi-editor-page .ls-poi-card {background:var(--edit-paper);border:1px solid var(--edit-border);padding:22px;border-radius:16px;color:var(--edit-ink)}
.poi-inline-label {display:block;font:600 .9rem/1.4 'Barlow',sans-serif;color:inherit;letter-spacing:0}
.poi-inline-field,#poiExisting input,#poiExisting select,.poi-extra input:not([type=checkbox]),.poi-extra select {display:block;width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--edit-border);border-radius:9px;background:var(--edit-field);color:var(--edit-ink);font:400 16px/1.5 'Barlow',sans-serif;padding:11px;margin:6px 0 4px}
#poiTitle {font-size:1.35rem;font-weight:700}
.poi-inline-field::placeholder {color:#78736b;opacity:1}
.poi-inline-field:focus {outline:2px solid #009246;outline-offset:2px}
.poi-location {display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;margin:16px 0}
.poi-location label {flex:1 1 250px}.poi-location .btn {margin-top:26px}.poi-location .poi-help {flex-basis:100%;margin:0;font-size:.83rem;color:inherit;opacity:.8}
.poi-photo-slot {position:relative;min-height:180px;background:var(--edit-field);border:1px dashed var(--edit-border);border-radius:12px;overflow:hidden;margin:12px 0 20px}
.poi-photo-slot .hero-image {border:0;margin:0;width:100%;max-height:520px;object-fit:contain;display:block}
.poi-photo-empty {padding:55px 24px 30px;text-align:center;line-height:1.6}.poi-photo-empty strong {font-size:1.1rem}.poi-photo-empty p {max-width:480px;margin:10px auto}
#poiPhotoEdit {position:absolute;top:10px;right:10px;background:#111;color:#fff;border:1px solid #ddd;box-shadow:0 2px 12px #0005}
.poi-field-error {display:block;font-size:.85rem;color:#b51d28;line-height:1.4;font-weight:600;letter-spacing:0}
.poi-field-error:empty {display:none}.poi-photo-slot .poi-field-error {margin:10px}
.poi-inline-field[aria-invalid=true] {border:2px solid #ce2b37}
.poi-card-editable .highlight-box {margin:12px 0;background:transparent;border-left:4px solid #f0c94b;padding:10px 0 10px 12px;color:inherit}
.poi-card-editable .content-section {padding:0;color:inherit;margin:12px 0}
#poiGenerate {display:block;margin-left:auto;background:#f5e642;color:#181818;border:1px solid #a99516}
#poiEditorMap {margin-top:18px;border-radius:10px;border:1px solid var(--edit-border);z-index:0}
.poi-research,.poi-extra,#poiDrafts,#poiExisting {margin:14px 0;padding:14px;border:1px solid var(--edit-border);border-radius:10px;background:var(--edit-field);color:var(--edit-ink)}
.poi-research pre {white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;font:inherit;font-size:.85rem}.poi-research a {overflow-wrap:anywhere}
summary {cursor:pointer;font-weight:600;line-height:1.5}
.poi-extra-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.poi-check {display:flex;gap:10px;align-items:flex-start;line-height:1.5;font-size:.9rem;margin:14px 0}.poi-check input {flex:none;width:20px;height:20px;margin-top:2px}
.poi-save-row {display:flex;justify-content:space-between;gap:12px}.poi-save-row #poiSave {min-width:150px;font-weight:700}
.poi-review-note {font-weight:600;text-align:center;margin:20px 0 12px}#poiStatus {white-space:pre-wrap;line-height:1.5}#poiStatus.is-err {color:#b51d28;font-weight:600}
.poi-danger {color:#c12430;border-color:currentColor;background:transparent;margin-top:20px}
#poiDraftList {padding:0;list-style:none}#poiDraftList li {display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--edit-border)}#poiDraftList li span {flex:1 1 180px;overflow-wrap:anywhere}
#poiPhotoEditor {position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px;border:1px solid var(--edit-border);border-radius:16px;background:var(--edit-paper);color:var(--edit-ink)}
#poiPhotoEditor::backdrop,#poiSavedReview::backdrop {background:rgb(0 0 0 / .65)}
.poi-dialog-head {display:flex;gap:10px;align-items:center;justify-content:space-between}.poi-dialog-head h2 {margin:0;font-size:1.25rem}
.poi-photo-buttons {display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
#poiPhotoCanvas {display:block;max-width:100%;height:auto;margin:14px auto;border-radius:8px;background:#ddd}
#poiPhotoEditor select {font:inherit;padding:8px;max-width:100%}#poiPhotoEditor input[type=range] {display:block;width:100%;min-height:38px}#poiPhotoControls label {display:block;margin:10px 0}#poiPhotoStatus {line-height:1.4}
#poiSavedReview {position:fixed;inset:0;margin:0;padding:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;background:var(--edit-paper);color:var(--edit-ink);overflow:hidden}
#poiSavedFrame {display:block;width:100%;height:calc(100% - 42px);border:0;background:var(--edit-paper)}
#poiSavedStatus {margin:0;min-height:42px;padding:10px 14px;font-size:.85rem;box-sizing:border-box;position:relative;z-index:1;background:var(--edit-paper)}
.poi-review-buttons {position:absolute;bottom:0;left:0;right:0;display:flex;gap:10px;justify-content:center;padding:12px 14px max(14px,env(safe-area-inset-bottom));background:linear-gradient(transparent,var(--edit-paper) 40%);pointer-events:none}
.poi-review-buttons .btn {pointer-events:auto;box-shadow:0 4px 20px #0004;font-weight:600;background:var(--edit-field);color:var(--edit-ink)}.poi-review-buttons .btn-green {background:#007b3e;color:#fff}
html[data-ls-theme=dark] body.poi-editor-page {--lemon:#f5e642;--edit-paper:#101010;--edit-ink:#f5f5f5;--edit-field:#1d1d1d;--edit-border:#454545;background:#000;color-scheme:dark}
html[data-ls-theme=dark] .poi-editor-page .poi-field-error,html[data-ls-theme=dark] #poiStatus.is-err {color:#ff8992}
@media(max-width:620px){.poi-editor-wrap{padding:14px}.poi-editor-page .ls-poi-card{padding:14px}.poi-location label{flex-basis:100%}.poi-location .btn{margin-top:0}.poi-extra-grid{grid-template-columns:minmax(0,1fr)}.poi-save-row .btn{flex:1;min-width:0!important}.poi-review-buttons .btn{flex:1}.poi-photo-empty{padding-left:14px;padding-right:14px}.topbar{gap:6px}.topbar-right{gap:5px}.topbar .nav-chip{min-width:34px}}

/* LS_POI_PHOTO_INPUT_R1 */
.ls-poi-image-drag{outline:3px dashed #18834c;outline-offset:-4px}
.poi-photo-input-hint{font:inherit;line-height:1.45;overflow-wrap:anywhere}
