.offline { display:grid; gap:16px; min-width:0; }
.offline p { line-height:1.5; }
.offline-list { list-style:none; padding:0; margin:0; display:grid; }
.offline-store, .offline-product { display:grid; gap:8px; padding:14px 0; border-bottom:1px solid var(--line); min-width:0; }
.offline-store small, .offline-product small, .offline-buy small { display:block; color:var(--muted); margin-top:4px; line-height:1.4; }
.offline-store button { justify-self:start; }
.offline-product .field { max-width:280px; }
.offline-sources { font-size:.875rem; overflow-wrap:anywhere; }
.offline-warning { background:#f0f1e8; padding:12px; border-radius:8px; }
.offline-section { border-top:1px solid var(--line); }
.offline-sectionhead { display:flex; align-items:center; justify-content:space-between; gap:8px; padding-top:8px; }
.offline-sectionhead > div { display:flex; flex:none; }
.offline-move { width:44px; height:44px; background:transparent; border:0; font-size:1.2rem; }
.offline-buy { display:flex; align-items:center; gap:12px; min-height:56px; padding:8px 0; border-bottom:1px solid var(--line); }
.offline-buy input { flex:none; }
.offline-buy span { min-width:0; overflow-wrap:anywhere; }
.offline-tips { padding:12px 14px; background:#e9e6dd; border-radius:8px; }
.offline-tips ul { margin:8px 0 0; padding-left:20px; }
.offline-directions { display:inline-flex; align-items:center; min-height:44px; }
.offline-view-switch { display:flex; gap:8px; }
.offline-view-switch button { flex:1; }
.offline-view-switch [aria-pressed="true"] { background:var(--green); border-color:var(--green); color:#fff; }
.offline-map-section { display:grid; gap:10px; min-width:0; }
.offline-map { position:relative; width:100%; height:240px; overflow:hidden; background:#e5e9df; border:1px solid var(--line); border-radius:8px; }
.offline-map-point { position:absolute; transform:translate(-50%,-50%); display:grid; place-items:center; width:32px; height:32px; padding:0; border:0; background:transparent; }
.offline-map-point span { width:12px; height:12px; border:2px solid #fff; border-radius:50%; background:var(--green); box-shadow:0 1px 3px #17292266; }
.offline-map-point:focus-visible { z-index:2; }
.offline-map-controls { display:flex; flex-wrap:wrap; gap:4px; }
.offline-map-controls button { min-width:44px; padding:8px; }
.offline-map-selection { line-height:1.5; padding:12px; background:#e9e6dd; border-radius:8px; }
.offline-map-selection button { display:block; margin-top:10px; }
.offline-map > svg { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.offline-map-origin { position:absolute; z-index:1; width:12px; height:12px; transform:translate(-50%,-50%); background:#426fd8; border:2px solid #fff; box-shadow:0 1px 3px #17292288; pointer-events:none; }
.offline-map-point.is-selected { z-index:3; }
.offline-map-point.is-selected span { width:18px; height:18px; background:#a53924; }
.offline-tips p { margin-top:10px; }
.offline-tips button { margin-top:8px; }
