/* 五to旅 — スマホ前提の 1 枚。部品の形は suite.css（ボタン・入力欄・小窓・暦と時刻の小窓）。色だけここで上書き */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --s-band: #0f9d94; --s-accent: #0f9d94; --s-deep: #0b6f8f;   /* 淡いラベンダー（2026-10-17 峯岸さん。前は緑 #2bb673） */
  --accent: #0f9d94; --accent-weak: #e7f6f4;
  --border: #e3e6ea; --text: #222; --muted: #6b7280; --danger: #b91c1c;
  --tabbar: 66px;
  --sun: #e03e3e; --sat: #2f6fd6;
}
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; overscroll-behavior-y: none; touch-action: manipulation; }   /* 2 回押しの拡大を止める（指で送る・つまむは可だが、つまみは common.js で止める） */   /* 横には絶対にスクロールさせない。上に引っぱっても Safari の「再読み込み」にしない（2026-10-17） */
body {
  font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px; color: var(--text); background: #fff; min-height: 100vh;
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--accent); }
button { -webkit-touch-callout: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: 13px; }
.hint { color: var(--muted); font-size: 12px; margin: 4px 0; }

/* ─── 上の帯（画面ごとの題） ─── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  padding: calc(10px + env(safe-area-inset-top)) 16px 8px; display: flex; align-items: center; gap: 10px; min-height: 52px; }
.top h1 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.top .spacer { flex: 1; }
.iconbtn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: #333;
  display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 18px; line-height: 1; }
.iconbtn:active { background: #f1f3f5; }
.iconbtn svg { width: 20px; height: 20px; }
.top .todaybtn { font-size: 12px; padding: 5px 10px; border-radius: 14px; border: 1px solid var(--border); background: #fff; }

/* ─── 下のタブ ─── */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: calc(var(--tabbar) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--border); display: flex; }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: #8a8f98; text-decoration: none; font-size: 11px; }
.tabbar a { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; }   /* 波紋は札の中だけ */
/* 下の帯を押したときの波紋 (押した所から薄い灰の丸が広がって消える。2026-10-18) */
.tabbar .ripple { position: absolute; border-radius: 50%; background: rgba(0, 0, 0, .035); transform: scale(0); pointer-events: none;
  animation: tabripple .45s ease-out forwards; }
@keyframes tabripple { 0% { transform: scale(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tabbar .ripple { animation-duration: .2s; } }
.tabbar .tabbadge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ef4444; color: #fff;
  font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }   /* 急ぎの数（どの画面でも） */
.tabbar .tabbadge[hidden] { display: none; }
.tabbar a svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.active { color: var(--s-deep); font-weight: 700; }
.tabbar a.active svg { stroke-width: 2.2; }

/* ─── 共通の中身 ─── */
.wrap { padding: 8px 16px 24px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.card h3 { font-size: 15px; margin-bottom: 8px; }
label.fl { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
input[type=text], input[type=date], input[type=time], input[type=url], textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 16px; background-color: #fff; }   /* background の省略形にすると suite の欄の絵（時計）が消える */
input[type=text], input[type=date], input[type=time], input[type=url], select { height: auto; line-height: 1.3; }   /* suite の height:36px と上の padding がぶつかり、iPhone の select で文字が半分切れた（2026-10-17） */
input[data-date], input[data-time] { background-color: #fff; }
textarea { resize: vertical; }
.btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.btns button { flex: 1; padding: 12px; font-size: 15px; border-radius: 10px; }
.btns button.danger { flex: 0 0 auto; }
.row { display: flex; align-items: center; gap: 10px; }
.row .grow { flex: 1; min-width: 0; }
.av { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; object-fit: cover; flex: none; }
.fab { position: fixed; right: 18px; bottom: calc(var(--tabbar) + 18px + env(safe-area-inset-bottom)); z-index: 25;
  width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; border: 0; font-size: 34px; line-height: 1;
  box-shadow: 0 6px 18px rgba(15,157,148,.45); display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.fab:active { transform: scale(.96); }
.empty { color: var(--muted); text-align: center; padding: 40px 0; font-size: 14px; }
#flash { position: fixed; top: auto; right: auto; left: 50%; bottom: calc(var(--tabbar) + 90px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(10px);
  background: rgba(34,34,34,.92); color: #fff; padding: 9px 16px; border-radius: 20px; font-size: 13px; opacity: 0; transition: .2s; z-index: 50; pointer-events: none; max-width: 90vw; }
#flash.show { opacity: 1; transform: translateX(-50%); }
#flash.err { background: #b91c1c; }

/* 下からせり上がる小窓 */
.modal { overscroll-behavior: contain; }   /* 小窓の中で引っぱっても外（ページ）に伝えない */
.modal.bottom { align-items: flex-end; padding: 0; }
.modal.bottom { background: rgba(0, 0, 0, 0); transition: background-color .2s ease-out; }
.modal.bottom.in { background: rgba(0, 0, 0, .35); }
.modal.bottom.out { background: rgba(0, 0, 0, 0); transition: background-color .18s ease-in; }   /* 小窓が下がるのと同時に薄暗さも消す */
.modal.bottom .sheet { max-width: 560px; border-radius: 16px 16px 0 0; padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  max-height: 92vh; overflow: auto; transform: translateY(100%); transition: transform .2s ease-out; }
.modal.bottom.in .sheet { transform: none; }
.modal.bottom .sheet > * { flex-shrink: 0; }   /* 小窓が 92vh を超えても中身 (メモの欄など) を潰さず、小窓の中で送る (2026-10-31 参加の行を足してメモが半分隠れた) */
.modal.bottom.out .sheet { transform: translateY(100%); transition: transform .18s ease-in; }
.sheet .grab { width: 36px; height: 4px; border-radius: 2px; background: #ddd; margin: -4px auto 4px; }
.sheet .fl:first-of-type { margin-top: 0; }
.sheet .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet .actions { margin-top: 10px; }
.sheet .actions button { padding: 11px 16px; }

.qr { display: block; width: 220px; max-width: 100%; margin: 6px auto; }
.linkbox { font-size: 12px; word-break: break-all; background: #f6f7f9; border-radius: 8px; padding: 8px 10px; color: #444; }

/* ─── ログイン・招待 ─── */
.center { max-width: 420px; margin: 0 auto; padding: 60px 20px 40px; text-align: center; }
.center .logo { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 14px; display: block; }
.center h1 { font-size: 22px; margin-bottom: 6px; }
.center p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.linebtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; border-radius: 10px; background: #06c755; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; }
.linebtn:active { background: #05a847; }
.center .card { text-align: left; }
/* ホーム画面に足す の手順 (2026-10-17) */
.steps { margin: 8px 0 0; padding-left: 22px; font-size: 14px; line-height: 1.5; }
.steps li { margin: 4px 0; }
.steps b { font-weight: 700; }
.row[hidden], .hint[hidden] { display: none; }   /* hidden が .row の flex に負けていた (2026-10-17) */

/* ─── 五to旅: 参考=しおりShare の構成（薄い背景に白い丸角カード・日のタブ・時刻つきカード）。色は自前（青緑→藍・札は夕日色） ─── */
:root { --grad: linear-gradient(120deg, #0f9d94, #2f6fd6); --sun1: #ff9f1c; --sun2: #ff6b35; --warn: #d97706; --warn-bg: #fff7e6; --ink: #1e2a38; }
body { background: linear-gradient(160deg, #f0faf9, #f3f6fd 55%, #f8f6fc); color: var(--ink); }
.top { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 #e6ebf0; }
.top h1 { font-size: 17px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; flex: 1; }
.top .back { flex: none; }
.wrap { max-width: 640px; margin: 0 auto; padding: 12px 14px 96px; }
.card { border: 0; border-radius: 16px; box-shadow: 0 2px 12px rgba(30,42,56,.07); padding: 16px; }
.card h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
h2.sec { font-size: 14px; color: var(--muted); font-weight: 700; margin: 18px 4px 8px; display: flex; align-items: center; gap: 8px; }
h2.sec .spacer, .row .spacer { flex: 1; }
.linkbtn { background: none; border: 0; padding: 4px 6px; color: var(--s-deep); font-size: 13px; font-weight: 600; }
button.primary, a.primary { background: var(--grad); border: 0; color: #fff; font-weight: 700; }
a.primary { display: block; text-align: center; padding: 12px; border-radius: 10px; text-decoration: none; }
button.wide { width: 100%; padding: 13px; border-radius: 12px; font-size: 15px; }
button.sunny { background: linear-gradient(120deg, var(--sun1), var(--sun2)); border: 0; color: #fff; font-weight: 700; }
button:disabled { opacity: .5; }
.sheet h2 { font-size: 17px; margin-bottom: 6px; }
.actions { display: flex; gap: 8px; align-items: center; }
.actions .spacer { flex: 1; }

/* 一覧 */
.tripcard { display: block; text-decoration: none; color: inherit; position: relative; }
.tripcard .ttl { font-size: 17px; font-weight: 700; margin: 8px 24px 4px 0; }
.tripcard .sub { color: var(--muted); font-size: 13px; line-height: 1.6; }
.tripcard .todo { position: absolute; right: 14px; top: 14px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ef4444; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.stagepill { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 10px; background: var(--accent-weak); color: var(--s-deep); }
.stagepill.done { background: linear-gradient(120deg, var(--sun1), var(--sun2)); color: #fff; }

/* 表紙 */
.cover { padding: 18px 16px; }
.cover .head { display: flex; gap: 12px; align-items: flex-start; }
.cover .pin { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }
.cover h2 { font-size: 21px; line-height: 1.3; font-weight: 800; }
.cover .dates { color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.5; }
.cover .summary { margin-top: 12px; padding: 10px 12px; background: #f0faf9; border-left: 4px solid #8fd8d2; border-radius: 10px; font-size: 14px; line-height: 1.6; }
.faces { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 12px; }
.meetline { display: flex; gap: 8px; align-items: baseline; font-size: 13px; margin-top: 6px; line-height: 1.5; }
.meetline b { flex: none; color: var(--s-deep); font-size: 12px; }

/* 進み具合 */
.steps-bar { display: flex; gap: 4px; margin-bottom: 12px; }
.steps-bar a, .steps-bar span { flex: 1; text-align: center; font-size: 11px; padding: 7px 0 6px; border-radius: 9px; background: #e9edf1; color: #6b7280; font-weight: 700; text-decoration: none; position: relative; }
.steps-bar .now { background: var(--grad); color: #fff; }
.steps-bar .past { background: var(--accent-weak); color: var(--s-deep); }
.subtabs { display: flex; gap: 6px; margin-bottom: 12px; background: #e9edf1; padding: 4px; border-radius: 12px; }
.subtabs button { flex: 1; padding: 9px 0; border: 0; background: none; border-radius: 9px; font-size: 13px; font-weight: 700; color: #555; position: relative; height: auto; }
.subtabs button.on { background: #fff; color: var(--s-deep); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.dot { display: inline-flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 700; margin-left: 4px; }
.deadline { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 10px; }
.deadline label { flex: none; color: var(--muted); }
.deadline input { flex: 1; min-width: 0; padding: 7px 10px !important; font-size: 14px !important; }
.deadline .left { flex: none; font-size: 12px; font-weight: 700; color: var(--s-deep); min-width: 48px; text-align: right; }
.deadline .left.over { color: var(--danger); }

/* 決まっていること */
.fixedrow { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef1f4; align-items: flex-start; background: none; width: 100%; border-width: 0 0 1px; text-align: left; height: auto; border-radius: 0; font-weight: 400; }
.fixedrow:last-of-type { border-bottom: 0; }
.fixedrow .ic { font-size: 20px; line-height: 24px; }
.fixedrow .ttl { font-weight: 700; font-size: 14px; }
.fixedrow .sub { color: var(--muted); font-size: 12px; margin-top: 2px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { padding: 7px 12px; height: auto; border-radius: 16px; border: 1px solid var(--border); background: #fff; font-size: 13px; font-weight: 500; color: #444; }
.chips button.on { background: var(--s-deep); border-color: var(--s-deep); color: #fff; }

/* 候補 */
.pasteform { display: flex; gap: 8px; }
.pasteform input { flex: 1; min-width: 0; }
.pasteform button { flex: none; padding: 0 14px; height: auto; border-radius: 8px; }
.placecard { padding: 12px 14px; }
.placecard .top1 { display: flex; gap: 10px; align-items: flex-start; }
.rank { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #e9edf1; color: #555; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.rank.r1, .rank.r2, .rank.r3 { background: linear-gradient(120deg, var(--sun1), var(--sun2)); color: #fff; }
.placecard .nm { font-weight: 700; font-size: 15px; line-height: 1.35; text-decoration: none; color: inherit; }
.placecard .meta { color: var(--muted); font-size: 12px; margin-top: 3px; line-height: 1.5; }
.score { flex: none; text-align: right; font-size: 11px; color: var(--muted); line-height: 1.3; }
.score b { display: block; font-size: 18px; color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.stars { display: flex; gap: 2px; margin-top: 8px; align-items: center; }
.stars button { width: 40px; height: 40px; padding: 0; background: none; border: 0; font-size: 28px; line-height: 1; color: #d6dae0; }
.stars button.on { color: #ffb400; }
.stars .lbl { font-size: 11px; color: var(--muted); margin-left: 6px; }
.needrate { box-shadow: 0 0 0 2px #ffd166, 0 2px 12px rgba(30,42,56,.07); }

/* プラン */
.plancard { padding: 0; overflow: hidden; }
.plancard.lead { box-shadow: 0 0 0 2px #0f9d94, 0 2px 12px rgba(30,42,56,.07); }
.plancard .ph { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: var(--grad); color: #fff; }
.plancard .lab { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.25); font-weight: 800; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; }
.plancard .pt { font-weight: 700; font-size: 16px; flex: 1; min-width: 0; }
.plancard .vc { flex: none; font-size: 12px; font-weight: 700; }
.plancard .pb { padding: 12px 14px; font-size: 14px; line-height: 1.6; }
.tagline { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 10px; background: #eef1f4; color: #4b5563; font-weight: 600; }
.tag.hit { background: #fff1dc; color: #b45309; }
.warnbox { background: var(--warn-bg); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: #92400e; margin-top: 8px; line-height: 1.5; }
.spin { display: inline-block; width: 18px; height: 18px; border: 3px solid #cfe9e6; border-top-color: #0f9d94; border-radius: 50%; animation: spin 1s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.comment { display: flex; gap: 8px; margin-bottom: 10px; }
.comment .bub { background: #f3f5f8; padding: 7px 11px; border-radius: 12px; font-size: 14px; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.comment .who { font-size: 11px; color: var(--muted); margin-bottom: 2px; }

/* 日のタブ */
.daytabs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.daytabs::-webkit-scrollbar { display: none; }
.daytabs button { position: relative; flex: none; min-width: 74px; height: auto; padding: 8px 10px; border-radius: 12px; border: 1.5px solid #dfe4ea; background: #fff; color: var(--ink); line-height: 1.3; }
.daytabs button b { display: block; font-size: 15px; }
.daytabs button small { font-size: 11px; color: var(--muted); font-weight: 400; }
.daytabs button.on { background: var(--grad); border-color: transparent; color: #fff; }
.daytabs button.on small { color: rgba(255,255,255,.88); }
.daytabs .cnt { position: absolute; top: -6px; right: -5px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--sun2); color: #fff; border: 2px solid #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* 行程のカード */
.ev { background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(30,42,56,.07); margin-bottom: 12px; overflow: hidden; display: block; width: 100%; padding: 0; border: 0; text-align: left; height: auto; font: inherit; color: inherit; font-weight: 400; }
.ev .bar { height: 5px; background: #cbd5e1; }
.ev.k-move .bar { background: linear-gradient(90deg, #3b82f6, #22d3ee); } .ev.k-sight .bar { background: linear-gradient(90deg, #0f9d94, #4ade80); }
.ev.k-food .bar { background: linear-gradient(90deg, #f97316, #fbbf24); } .ev.k-cafe .bar { background: linear-gradient(90deg, #a16207, #d6a35c); }
.ev.k-shop .bar { background: linear-gradient(90deg, #ec4899, #f9a8d4); } .ev.k-hotel .bar { background: linear-gradient(90deg, #6366f1, #a78bfa); }
.ev.k-event .bar { background: linear-gradient(90deg, #dc2626, #fb7185); } .ev.k-private .bar { background: repeating-linear-gradient(90deg, #9ca3af 0 8px, #e5e7eb 8px 14px); }
.ev .evh { display: flex; align-items: center; gap: 8px; padding: 10px 14px 8px; border-bottom: 1px solid #eef1f4; }
.ev .kindic { font-size: 18px; }
.ev .kindtx { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 10px; background: #eef1f4; color: #475569; white-space: nowrap; }
.ev .tm { margin-left: auto; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ev .tm small { font-size: 12px; font-weight: 500; color: #0b6f8f; margin-left: 2px; }
.ev .evb { padding: 10px 14px 12px; }
.ev .evt { font-size: 16px; font-weight: 800; line-height: 1.35; }
.ev .evd { margin-top: 6px; font-size: 13px; line-height: 1.6; background: #f6f8fa; border-left: 3px solid #cfd8e3; border-radius: 8px; padding: 7px 10px; white-space: pre-wrap; }
.ev .evm { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.ev.live { box-shadow: 0 0 0 2px #ef4444, 0 2px 12px rgba(30,42,56,.07); }
.ev .livetag { font-size: 10px; font-weight: 800; color: #fff; background: #ef4444; padding: 2px 6px; border-radius: 8px; }
.gotonext { text-align: center; font-size: 12px; color: #0b6f8f; margin: -4px 0 10px; }
.legcard { display: flex; align-items: center; gap: 10px; }
.legcard .grow { flex: 1; min-width: 0; font-size: 13px; line-height: 1.5; }
.legrow { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; background: #f6f8fa; border-radius: 10px; margin-bottom: 8px; }
.legrow .full { grid-column: 1 / -1; }
.legrow .x { justify-self: end; grid-column: 1 / -1; }

/* 持ち物 */
.basebtn { margin-bottom: 12px; }
.pack-add { display: flex; gap: 8px; margin-bottom: 10px; }
.pack-add input { flex: 1; min-width: 0; }
.pack-add button { flex: none; width: 46px; padding: 0; font-size: 22px; height: auto; border-radius: 8px; }
.pitem { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid #eef1f4; background: #fff; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.pitem:last-child { border-bottom: 0; }
.pitem .chk { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #c8ced6; background: #fff; padding: 0; color: #fff; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.pitem.done .chk { background: #0f9d94; border-color: #0f9d94; }
.pitem.done .nm { color: #9aa3ad; text-decoration: line-through; }
.pitem .nm { flex: 1; min-width: 0; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.pitem .qty { color: var(--muted); font-size: 13px; margin-left: 6px; }
.pitem .owner { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #475569; background: #eef1f4; border: 0; height: auto; padding: 3px 8px 3px 3px; border-radius: 13px; font-weight: 600; }
.pitem .owner.none { color: #b45309; background: var(--warn-bg); padding: 5px 9px; font-weight: 700; }
.pitem .sh { flex: none; font-size: 10px; color: #0b6f8f; background: var(--accent-weak); padding: 2px 6px; border-radius: 8px; font-weight: 700; }
.pitem.lifting { position: relative; z-index: 5; background: #f1f3f5; box-shadow: 0 6px 16px rgba(0,0,0,.18); border-radius: 10px; }
.privnote { display: flex; gap: 6px; font-size: 12px; color: var(--muted); align-items: center; margin-bottom: 8px; }
.ownpick button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 4px; background: none; border: 0; border-bottom: 1px solid #eef1f4; height: auto; border-radius: 0; font-weight: 500; font-size: 15px; color: var(--ink); text-align: left; }
.ownpick button.on { color: var(--s-deep); font-weight: 800; }
.memberrow { padding: 8px 0; border-bottom: 1px solid #eef1f4; }
details.more { margin-top: 12px; }
details.more summary { font-size: 13px; font-weight: 700; color: var(--s-deep); padding: 8px 0; cursor: pointer; }
.tabbar[hidden] { display: none; }
