/* 豆馆 · 门店端面板 */
.hall-panel,.hall-modal{--hall-accent:var(--purple,#7154d9);--hall-line:#e7e3f1;--hall-ink:#292639;--hall-muted:#736c82}
.hall-panel{display:flex;flex-direction:column;gap:14px;color:var(--hall-ink)}
.hall-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.hall-tabs{display:flex;gap:4px;padding:4px;border-radius:14px;background:color-mix(in srgb,var(--hall-accent),white 93%)}
.hall-tab{min-height:44px;padding:0 18px;border:0;border-radius:11px;background:transparent;color:var(--hall-muted);font:inherit;font-weight:600;cursor:pointer}
.hall-tab.active{background:#fff;color:color-mix(in srgb,var(--hall-accent),black 15%);box-shadow:0 1px 4px #2a1f4a14}
.hall-link{color:var(--hall-accent);font-size:13px}
.hall-notice{margin:0;padding:10px 14px;border-radius:12px;background:color-mix(in srgb,var(--hall-accent),white 92%);color:color-mix(in srgb,var(--hall-accent),black 25%);font-size:14px}
.hall-callout{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px dashed color-mix(in srgb,var(--hall-accent),white 55%);border-radius:14px;font-size:14px}
.hall-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.hall-filters{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.hall-chip{flex:none;min-height:40px;padding:0 14px;border:1px solid var(--hall-line);border-radius:12px;background:#fff;color:var(--hall-muted);font:inherit;font-size:13px;cursor:pointer}
.hall-chip.active{border-color:color-mix(in srgb,var(--hall-accent),white 50%);background:color-mix(in srgb,var(--hall-accent),white 90%);color:color-mix(in srgb,var(--hall-accent),black 15%);font-weight:600}
.hall-btn{min-height:44px;padding:0 16px;border:1px solid var(--hall-line);border-radius:12px;background:#fff;color:var(--hall-ink);font:inherit;font-size:14px;cursor:pointer;white-space:nowrap}
.hall-btn.primary{border-color:var(--hall-accent);background:var(--hall-accent);color:#fff;font-weight:600}
.hall-btn:disabled{opacity:.55;cursor:default}
.hall-works{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.hall-work{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--hall-line);border-radius:16px;background:#fff}
.hall-work-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.hall-work-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hall-work-title strong{font-size:16px}
.hall-work-meta{font-size:13px;color:var(--hall-muted)}
.hall-work-meta b{color:#a8541f}
.hall-no{font-family:ui-monospace,Menlo,Consolas,monospace;color:color-mix(in srgb,var(--hall-accent),black 20%)}
.hall-review-note{font-size:13px;color:#a8541f}
.hall-work-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.hall-badge{padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600}
.hall-badge.good{background:#e6f4ec;color:#2f6b4b}.hall-badge.warn{background:#fff3df;color:#9a5a12}.hall-badge.bad{background:#fdeceb;color:#a83a33}.hall-badge.muted{background:#f0eef4;color:#6d6680}
.hall-empty{padding:30px 0;text-align:center;color:var(--hall-muted)}
.hall-profile{display:flex;flex-direction:column;gap:12px;max-width:760px}
.hall-help{margin:0;font-size:13px;color:var(--hall-muted)}
.hall-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hall-field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--hall-muted)}
.hall-field.narrow{max-width:240px}
.hall-field input,.hall-field select,.hall-field textarea{min-height:44px;padding:8px 12px;border:1px solid var(--hall-line);border-radius:12px;background:#fff;color:var(--hall-ink);font:inherit;font-size:16px}
.hall-field textarea{resize:vertical}
.hall-switch{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;font-weight:600}
.hall-switch input{width:22px;height:22px;accent-color:var(--hall-accent)}
.hall-radio{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;padding:0;border:0}
.hall-radio legend{width:100%;margin-bottom:6px;font-size:13px;color:var(--hall-muted)}
.hall-radio label{display:flex;align-items:center;gap:8px;min-height:40px;font-size:15px}
.hall-radio input{width:20px;height:20px;accent-color:var(--hall-accent)}
.hall-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
.hall-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:16px;background:#1d18304d}
.hall-modal-card{width:min(560px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;padding:20px;border-radius:20px;background:#fff;color:#292639;box-shadow:0 24px 70px #2a204a33}
.hall-modal-card form{display:flex;flex-direction:column;gap:12px}
.hall-modal-card h2{margin:0;font-size:19px}
.hall-consent{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.hall-qr{width:232px;height:232px;border-radius:12px;border:1px solid #ece9f3}
.hall-copy{display:flex;gap:8px;width:100%}
.hall-copy input{flex:1;min-width:0;min-height:44px;padding:0 10px;border:1px solid #e7e3f1;border-radius:12px;font-size:13px}
.hall-consent .hall-form-actions{width:100%}
/* 照片 */
.hall-work{justify-content:flex-start}
.hall-work-main{flex:1}
.hall-thumb{position:relative;flex:none;width:76px;height:76px;padding:0;border:1px solid var(--hall-line);border-radius:12px;overflow:hidden;background:#f6f4fa;color:var(--hall-muted);font:inherit;font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center}
.hall-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hall-thumb span{position:absolute;right:4px;bottom:4px;padding:1px 6px;border-radius:999px;background:#1d1830b3;color:#fff;font-size:11px}
.hall-thumb.empty{border-style:dashed;border-color:color-mix(in srgb,var(--hall-accent),white 45%);color:var(--hall-accent);display:flex;flex-direction:column;gap:2px;justify-content:center;align-items:center}
.hall-thumb.empty small{font-size:12px}
.hall-thumb:disabled{cursor:default;font-size:12px;color:var(--hall-muted);border-color:var(--hall-line)}
.hall-btn.attention{border-color:color-mix(in srgb,var(--hall-accent),white 40%);color:color-mix(in srgb,var(--hall-accent),black 15%);font-weight:600}
.hall-btn.danger{border-color:#c2453c;background:#c2453c}
.hall-btn.small{min-height:32px;padding:0 10px;font-size:12px;border-radius:9px}
.hall-photos-dialog{display:flex;flex-direction:column;gap:12px}
.hall-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.hall-photo-grid li{position:relative;aspect-ratio:1;border:1px solid var(--hall-line);border-radius:14px;overflow:hidden;background:#f6f4fa}
.hall-photo-grid img{width:100%;height:100%;object-fit:cover;display:block}
.hall-photo-grid a{display:block;width:100%;height:100%}
.hall-photo-grid .hall-btn.small{position:absolute;left:6px;bottom:6px;background:#ffffffe6}
.hall-cover-tag{position:absolute;left:6px;bottom:6px;padding:3px 8px;border-radius:999px;background:var(--hall-accent);color:#fff;font-size:12px;font-weight:600}
.hall-photo-del{position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;border-radius:50%;background:#1d1830a6;color:#fff;font-size:18px;line-height:1;cursor:pointer}
.hall-photo-add{border-style:dashed!important;border-color:color-mix(in srgb,var(--hall-accent),white 45%)!important;background:color-mix(in srgb,var(--hall-accent),white 95%)!important}
.hall-photo-add label{display:grid;place-items:center;width:100%;height:100%;cursor:pointer;color:color-mix(in srgb,var(--hall-accent),black 10%);font-size:14px;font-weight:600;text-align:center;padding:6px}
.hall-photo-add input{position:absolute;width:1px;height:1px;opacity:0}
.hall-photo-add label:focus-within{outline:2px solid var(--hall-accent);outline-offset:-4px;border-radius:12px}
.hall-photo-error{margin:0;padding:8px 12px;border-radius:10px;background:#fdeceb;color:#a83a33;font-size:13px}
.hall-ask{z-index:210}
.hall-ask-card{width:min(420px,100%);display:flex;flex-direction:column;gap:12px}
[hidden]{display:none!important}
@media(max-width:720px){.hall-work{flex-wrap:wrap;align-items:flex-start}.hall-work-actions{width:100%}.hall-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hall-work-actions{justify-content:flex-start}.hall-grid{grid-template-columns:1fr}}
html[data-appearance='dark'] .hall-panel,html[data-appearance='dark'] .hall-modal{--hall-line:#3a3650;--hall-ink:#ece9f5;--hall-muted:#a9a3bb}
html[data-appearance='dark'] .hall-work,html[data-appearance='dark'] .hall-chip,html[data-appearance='dark'] .hall-btn:not(.primary),html[data-appearance='dark'] .hall-field input,html[data-appearance='dark'] .hall-field select,html[data-appearance='dark'] .hall-field textarea,html[data-appearance='dark'] .hall-tab.active{background:#24212f;color:#ece9f5}
html[data-appearance='dark'] .hall-modal-card{background:#1f1d29;color:#ece9f5}
html[data-appearance='dark'] .hall-thumb,html[data-appearance='dark'] .hall-photo-grid li{background:#24212f}
.hall-visit{display:flex;gap:8px;flex-wrap:wrap}
.hall-visit a{display:inline-flex;align-items:center;text-decoration:none}
/* 手机底栏原来按 6 个按钮排，豆馆是第 7 个，会被挤到屏幕外面：改成 7 列 */
@media(max-width:767px){.shell .sidebar nav{grid-template-columns:repeat(7,minmax(0,1fr))}}
/* 2.10：在馆计数、门店 LOGO 与店内环境照片、水印开关说明 */
.hall-live{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:0 12px;border-radius:12px;background:#f3f0fb;color:var(--hall-muted);font-size:13px;font-weight:700}
.hall-live.full{background:#fff1f1;color:#c73737}
.hall-switch span small{display:block;margin-top:2px;color:var(--hall-muted);font-size:12px;font-weight:500}
.hall-shop-media{margin:6px 0 4px;padding:14px;border:1px solid var(--hall-line);border-radius:16px}
.hall-media-row{display:flex;gap:18px;align-items:flex-start}
.hall-media-title{display:block;margin-bottom:8px;font-size:14px;font-weight:700;color:var(--hall-ink)}
.hall-media-title small{display:block;margin-top:2px;font-size:12px;font-weight:500;color:var(--hall-muted)}
.hall-logo-box{flex:none;width:132px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.hall-logo{width:96px;height:96px;border-radius:50%;overflow:hidden;border:1px solid var(--hall-line);background:#faf8fd;display:grid;place-items:center;color:var(--hall-muted);font-size:12px}
.hall-logo{background:#fff}
.hall-logo img{width:100%;height:100%;object-fit:cover;display:block;background:#fff}
.hall-logo-box label.hall-btn{cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.hall-env-box{flex:1;min-width:0}
.hall-env-grid{margin:0}
@media(max-width:720px){.hall-media-row{flex-direction:column}.hall-logo-box{width:auto;flex-direction:row;align-items:center;flex-wrap:wrap}}
html[data-appearance='dark'] .hall-live{background:#2a2637}
html[data-appearance='dark'] .hall-logo{background:#24212f}

/* 2.11 团购链接、地图定位 */
.hall-field-tip{display:block;margin-top:4px;font-size:12px;color:var(--hall-muted);line-height:1.5}
.hall-geo{margin:16px 0;padding:14px;border:1px solid var(--hall-line);border-radius:14px;background:rgba(255,255,255,.55)}
.hall-geo-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-bottom:10px}
.hall-geo-head small{color:var(--hall-muted);font-size:12px}
.hall-geo-search{display:flex;gap:8px;margin-bottom:8px}
.hall-geo-search input{flex:1;min-width:0;height:40px;padding:0 12px;border:1px solid var(--hall-line);border-radius:10px;font:inherit;background:#fff}
.hall-geo-results{list-style:none;margin:0 0 10px;padding:0;border:1px solid var(--hall-line);border-radius:10px;background:#fff;max-height:240px;overflow:auto}
.hall-geo-results li+li{border-top:1px solid var(--hall-line)}
.hall-geo-results button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:9px 12px;border:0;background:none;text-align:left;font:inherit;cursor:pointer}
.hall-geo-results button:hover,.hall-geo-results button:focus-visible{background:#f4f0ff}
.hall-geo-results span{font-size:12px;color:var(--hall-muted)}
.hall-geo-msg{margin:0 0 8px;font-size:13px;color:#5b3fc4}
.hall-map-slot{position:relative;height:320px;border-radius:12px;overflow:hidden;border:1px solid var(--hall-line);background:#eef0f3}
.hall-map{position:absolute;inset:0;z-index:0}
.hall-map-loading{display:grid;place-items:center;height:100%;color:var(--hall-muted);font-size:13px;padding:0 16px;text-align:center}
.hall-pin span{position:absolute;left:3px;top:0;width:24px;height:24px;border-radius:50% 50% 50% 0;background:#ff4f8b;border:3px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.35);transform:rotate(-45deg)}
.hall-pin span::after{content:"";position:absolute;left:6px;top:6px;width:6px;height:6px;border-radius:50%;background:#fff}
.hall-geo-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.hall-geo-status{margin:0;font-size:13px;color:var(--hall-muted)}
.hall-geo-acts{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:720px){.hall-map-slot{height:260px}}
html[data-appearance='dark'] .hall-geo{background:rgba(255,255,255,.04)}
html[data-appearance='dark'] .hall-geo-search input,html[data-appearance='dark'] .hall-geo-results{background:#24212f;color:inherit}
html[data-appearance='dark'] .hall-geo-results button{color:inherit}
html[data-appearance='dark'] .hall-geo-results button:hover{background:#2f2a40}
