/* 実家じまいAI — 50〜60代の子世代がスマホで使う前提。文字は大きめ、余白は広め、色は落ち着いた緑系。押し売り感を出さない。 */
:root {
  --bg: #f7f6f2; --panel: #ffffff; --panel-2: #f1efe8; --line: #dcd8cd; --text: #26302b; --muted: #5b655f;
  --accent: #2f6b4f; --accent-2: #24523d; --accent-soft: #e4efe8; --warn: #b3561c; --warn-soft: #fbeadc; --danger: #a63d3d; --danger-soft: #f8e3e3;
  --pos: #1f6f4a; --neg: #a63d3d; --radius: 14px; --shadow: 0 2px 10px rgba(30, 40, 35, .06);
  --fs: 17px;
}
* { box-sizing: border-box; }
html { font-size: var(--fs); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif; color: var(--text); background: var(--bg); line-height: 1.75; }
a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
table, pre, code { max-width: 100%; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.wrap, .card { min-width: 0; }
body { overflow-x: hidden; }
h1 { font-size: 1.7rem; line-height: 1.35; margin: .4em 0 .6em; letter-spacing: .01em; }
h2 { font-size: 1.3rem; line-height: 1.4; margin: 1.6em 0 .6em; }
h3, .h3 { font-size: 1.1rem; margin: 1em 0 .5em; }
p { margin: .5em 0 1em; }
.lead { font-size: 1.1rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pos { color: var(--pos); } .neg { color: var(--neg); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 720px; }
.app-wrap { max-width: 1100px; padding-bottom: 80px; }

/* header / footer */
.env-banner { background: var(--warn); color: #fff; text-align: center; padding: 6px; font-size: .9rem; }
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--accent-2); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-link { text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .95rem; color: var(--text); white-space: nowrap; }
.nav-link:hover { background: var(--panel-2); }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; user-select: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); min-width: 200px; padding: 6px; z-index: 30; display: flex; flex-direction: column; }
.menu-panel a, .menu-panel button { display: block; width: 100%; text-align: left; padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--text); font: inherit; background: none; border: 0; cursor: pointer; min-height: 44px; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--panel-2); }
.nav-cta .sp { display: none; }
@media (max-width: 480px) { .nav-cta .pc { display: none; } .nav-cta .sp { display: inline; } .brand { font-size: 1.05rem; } .nav-link { padding: 8px 8px; } .nav > a.nav-link + details.menu { margin-left: 0; } }
@media (max-width: 400px) { .nav > a.nav-link:has(+ details.menu) { display: none; } }
.btn-link { background: none; border: 0; font: inherit; cursor: pointer; }
.site-main { min-height: 60vh; }
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 28px 0 40px; background: var(--panel); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 8px; }
.footer-links a { font-size: .95rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.3; min-height: 46px; }
.btn:hover { background: var(--panel-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; }
.btn-danger { background: var(--danger-soft); border-color: #e9c4c4; color: var(--danger); }
.btn-sm { padding: 9px 14px; min-height: 44px; font-size: .95rem; }
.btn-lg { padding: 16px 28px; font-size: 1.1rem; min-height: 56px; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }

/* cards / grids */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 14px 0; box-shadow: var(--shadow); }
.card h3:first-child, .card h2:first-child { margin-top: 0; }
.card.warn { background: var(--warn-soft); border-color: #eccfb8; }
.card.soft { background: var(--accent-soft); border-color: #cfe0d5; }
.grid-2, .grid-3 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 .card, .grid-3 .card { margin: 0; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .85rem; background: var(--panel-2); color: var(--muted); margin-left: 6px; vertical-align: middle; }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.tag-ok { background: var(--accent-soft); color: var(--accent-2); }
.tag-danger { background: var(--danger-soft); color: var(--danger); }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; background: var(--panel-2); }
.pill.KEEP { background: #e7eef9; color: #2c4f86; } .pill.FAMILY { background: var(--warn-soft); color: var(--warn); } .pill.SELL { background: var(--accent-soft); color: var(--accent-2); }
.pill.GIVE, .pill.DONATE { background: #ecf3e2; color: #4d6b23; } .pill.STORE { background: #f0ecf9; color: #5a4a8a; } .pill.MEMORIAL { background: #f7ecd9; color: #8a5a1a; }
.pill.DISPOSE { background: #eee; color: #555; } .pill.UNDECIDED { background: #fff; border: 1px dashed var(--line); color: var(--muted); }

/* hero / sections */
.hero { padding: 48px 0 36px; background: linear-gradient(180deg, #eef3ee 0%, var(--bg) 100%); }
.hero-kicker { color: var(--accent-2); font-weight: 600; margin: 0 0 6px; }
.hero-title { font-size: 2.2rem; margin: 0 0 14px; line-height: 1.25; }
.hero-lead { font-size: 1.1rem; max-width: 640px; }
.hero-cta { margin: 22px 0 8px; }
.section { padding: 28px 0; }
.section-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { margin-top: 0; }
.check-list { padding-left: 0; list-style: none; }
.check-list li { padding-left: 28px; position: relative; margin: 8px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.steps-list li { margin: 10px 0; }
.cta-card { background: var(--accent-soft); border-color: #cfe0d5; }

/* forms */
.form label { display: block; margin: 12px 0; font-weight: 600; }
.form label.check { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.form label.check input { margin-top: 4px; width: 24px; height: 24px; flex: none; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], input[type=url], select, textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); margin-top: 4px; min-height: 48px;
}
textarea { min-height: 96px; resize: vertical; }
select { appearance: auto; }
/* 記事から使う簡易ツール（SSRフォーム） */
.tool-form label { display: block; margin-top: 10px; }
.tool-form label.radio { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-weight: 400; }
.tool-form label.radio input { width: 22px; height: 22px; margin: 0; min-height: 0; flex: none; }
.tool-form .btn { margin-top: 14px; }
/* 相続関係図（整理用） */
.kinship { margin: 12px 0; }
.kin-self { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 10px; }
.kin-groups { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--line); }
.kin-group { }
.kin-label { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.kin-row { display: flex; flex-wrap: wrap; gap: 8px; }
.kin-box { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; min-width: 64px; text-align: center; }
/* 今日やること */
.today-sec { margin: 18px 0; }
.today-sec .task-card { margin: 8px 0; }
/* 家じまいファイル */
.file-sec { margin: 16px 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.list.cols { columns: 2; column-gap: 20px; }
@media (max-width: 480px) { .list.cols { columns: 1; } }
@media print {
  .site-header, .app-nav, .concierge-fab, .btn, .site-footer { display: none !important; }
  .card { box-shadow: none; border-color: #ccc; break-inside: avoid; }
  body { background: #fff; }
}
.form-error { color: var(--danger); background: var(--danger-soft); padding: 10px 14px; border-radius: 10px; }
.form-ok { color: var(--accent-2); background: var(--accent-soft); padding: 10px 14px; border-radius: 10px; }
.field-row { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row.three { grid-template-columns: 1fr 1fr 1fr; } }
.help { font-weight: 400; color: var(--muted); font-size: .9rem; display: block; }

/* diagnosis */
.diag .q-progress { height: 8px; background: var(--panel-2); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.diag .q-progress > i { display: block; height: 100%; background: var(--accent); transition: width .2s; }
.diag .q-text { font-size: 1.2rem; font-weight: 700; margin: 6px 0 12px; }
.diag .q-options { display: grid; gap: 10px; }
.diag .q-option { display: block; width: 100%; text-align: left; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 1.05rem; cursor: pointer; }
.diag .q-option:hover { border-color: var(--accent); background: var(--accent-soft); }
.diag .q-option.on { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.diag .q-nav { display: flex; justify-content: space-between; margin-top: 16px; }

/* roadmap */
.roadmap { padding-left: 0; list-style: none; counter-reset: rm; }
.roadmap-step { position: relative; padding: 14px 14px 10px 54px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin: 10px 0; counter-increment: rm; }
.roadmap-step::before { content: counter(rm); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.roadmap-step.DONE, .roadmap-step.SKIPPED { opacity: .7; }
.roadmap-step.DONE::before { content: "✓"; background: var(--accent); color: #fff; }
.roadmap-step.DOING { border-color: var(--accent); }
.roadmap-title { font-weight: 700; font-size: 1.05rem; }
.roadmap-step p { margin: 4px 0 8px; }
.roadmap-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.roadmap-actions select { width: auto; min-height: 44px; padding: 6px 10px; margin: 0; }
.progress { height: 14px; background: var(--panel-2); border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); }

/* tables */
.table { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.table td, .table th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: var(--panel-2); font-weight: 700; font-size: .95rem; }
.table tr.total td { font-weight: 800; background: var(--panel-2); }
.table-wrap { overflow-x: auto; }

/* app layout */
.app-nav { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: 14px; scrollbar-width: none; }
.app-nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; white-space: nowrap; color: var(--text); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.app-nav a.on { background: var(--accent); color: #fff; }
.app-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.stat-row { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stat b { display: block; font-size: 1.3rem; }
.stat.on { border-color: var(--accent); background: var(--accent-soft); }
.stat span { color: var(--muted); font-size: .9rem; }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { border-bottom: 1px solid var(--line); padding: 12px 0; }
.item-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .item-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .item-grid { grid-template-columns: repeat(4, 1fr); } }
.item-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text); display: block; }
.item-card .thumb { aspect-ratio: 4/3; background: var(--panel-2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 2rem; overflow: hidden; }
.item-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-card .body { padding: 10px 12px; }
.item-card .name { font-weight: 700; display: block; }
.item-card.needs-discussion { border-color: var(--warn); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.filters select, .filters input { width: auto; min-height: 44px; padding: 6px 10px; margin: 0; max-width: 100%; }
.vote-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-group { margin-top: 12px; }
.cat-group h4 { margin: 0 0 6px; color: var(--muted); font-weight: 700; }
.vote-btn { min-height: 44px; }
.vote-btn { padding: 10px 14px; border-radius: 10px; border: 2px solid var(--line); background: #fff; font: inherit; cursor: pointer; }
.vote-btn.on { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.comment { border-top: 1px solid var(--line); padding: 8px 0; }
.comment .who { font-weight: 700; font-size: .95rem; }
.ai-box { border: 1px dashed var(--accent); background: var(--accent-soft); border-radius: 12px; padding: 14px; }
.ai-note { font-size: .9rem; color: var(--accent-2); font-weight: 600; }
.photo-strip { display: flex; gap: 8px; overflow-x: auto; }
.photo-strip img { height: 120px; width: auto; border-radius: 8px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #26302b; color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.2); z-index: 50; max-width: 90vw; }
.balance { font-size: 1.6rem; font-weight: 800; }
.kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 12px; }
.kv dd { overflow-wrap: anywhere; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: flex-end; justify-content: center; z-index: 40; }
.modal { background: var(--panel); border-radius: 16px 16px 0 0; padding: 20px; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; }
@media (min-width: 720px) { .modal-back { align-items: center; } .modal { border-radius: 16px; } }
.page-error .wrap { padding: 60px 16px; }
.breadcrumb { font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.article-body h2 { margin-top: 1.4em; } .article-body img { border-radius: 10px; }
.article-body { overflow-wrap: break-word; word-break: break-word; }
.article-body h2 { border-left: 4px solid var(--accent); padding-left: 10px; }
.article-body h3 { margin-top: 1.2em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin: .35em 0; }
.article-body blockquote { margin: 1em 0; padding: 10px 14px; background: var(--panel-2); border-left: 4px solid var(--line); border-radius: 8px; color: var(--muted); }
/* 記事末尾・ガイドの機能導線 */
.feature-links { list-style: none; padding-left: 0; margin: 10px 0; }
.feature-links li { padding: 10px 12px 10px 34px; position: relative; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); margin: 8px 0; }
.feature-links li::before { content: "→"; position: absolute; left: 12px; color: var(--accent); font-weight: 700; }
.feature-links a { text-decoration: none; font-weight: 600; }
/* 完全ガイドの時間軸 */
.timeline { list-style: none; padding-left: 0; margin: 16px 0; }
.timeline-item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 4px 0 16px; position: relative; }
.timeline-item:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.timeline-badge { width: 40px; height: 40px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.timeline-body { padding-top: 4px; }
.timeline-body h3 { margin: 4px 0 .3em; }
.timeline-body p { margin: .2em 0; }
.notice { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; }
/* ファネル */
.funnel { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.funnel-row { display: grid; grid-template-columns: 1fr 90px; grid-template-areas: 'label n' 'bar n'; gap: 2px 10px; align-items: center; }
.funnel-label { grid-area: label; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.funnel-bar { grid-area: bar; height: 10px; background: var(--bg); border-radius: 6px; overflow: hidden; }
.funnel-bar i { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.funnel-n { grid-area: n; text-align: right; }
/* 掲載準備チェック */
.card.ok { border-color: var(--accent); background: var(--accent-soft); }
.todo-list { margin: 8px 0 0; padding-left: 0; list-style: none; }
.todo-list li { padding: 8px 0 8px 28px; position: relative; border-top: 1px dashed var(--line); }
.todo-list li::before { content: '☐'; position: absolute; left: 6px; color: var(--muted); }
/* 地域の一覧チップ */
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: inherit; font-size: .95rem; min-height: 44px; line-height: 26px; }
/* 予想手取り */
.th-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 6px; }
.th-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.th-row.NONE { background: var(--bg); border-style: dashed; }
.th-label { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.th-amt { text-align: right; font-size: 1.1rem; flex-shrink: 0; }
.th-row.NONE { flex-wrap: wrap; }
.th-row.NONE .th-amt { flex-shrink: 1; text-align: left; font-size: .9rem; min-width: 0; overflow-wrap: anywhere; }
.tag-warn { background: #fff3e0; color: #8a4b00; }
.stat-row.two { grid-template-columns: 1fr 1fr; }
/* 出口比較 */
.exit-list { display: flex; flex-direction: column; gap: 8px; }
.exit-row { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.exit-row.current { border-color: var(--accent); background: var(--accent-soft); }
.exit-row .btn-sm { margin-top: 6px; }
.exit-row.recommended { box-shadow: inset 4px 0 0 var(--accent); }
.exit-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.exit-best { margin-left: auto; font-size: 1.15rem; }
.exit-offers { list-style: none; padding: 0; margin: 6px 0 0; }
.exit-offers li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: .95rem; flex-wrap: wrap; }

/* utilities（CSP で inline style を使わないため） */
.mt-20 { margin-top: 20px; }
.nolink { text-decoration: none; }
.tall { min-height: 160px; }
.hp { position: absolute; left: -9999px; }

/* Phase 47-70: カルテ／次にやること／確認事項などの画面 */
.dashboard { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.next-task { border-left: 4px solid var(--accent); }
.next-task h3 { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cards { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 10px; }
.cards > li.card { margin: 0; }
.cards > li.task { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
.cards > li.task.DONE, .cards > li.task.SKIPPED { opacity: .6; }
.ai-suggest { border: 1px dashed var(--line); border-radius: 10px; padding: 8px 10px; background: #fafafa; margin-top: 8px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; font-size: .9rem; }
.tag.CONFLICT, .tag.DISAGREED { background: #fdecea; color: #8a1f11; }
.tag.NO_RESPONSE, .tag.PARTIAL { background: #fff3e0; color: #8a4b00; }
.tag.ALL_AGREED { background: #e8f5e9; color: #1b5e20; }

/* Phase 71-76: 通知バッジ・タブ・共有情報・相談スレッド */
.notif-badge { display:inline-block; min-width:18px; padding:0 5px; margin-left:4px; border-radius:9px; background:#d33; color:#fff; font-size:11px; line-height:18px; text-align:center; vertical-align:middle; }
.list li.unread { background:#fff8e6; }
.tab-row { display:flex; flex-wrap:wrap; gap:6px; margin:10px 0; }
.kv-list { display:flex; flex-direction:column; gap:6px; }
.kv-list > div { overflow-wrap:anywhere; }

/* Phase 78: 実家じまいコンシェルジュAI */
.concierge-fab { position:fixed; right:16px; bottom:16px; z-index:900; border:0; border-radius:24px; padding:12px 18px; background:#2b6cb0; color:#fff; font-size:14px; box-shadow:0 3px 10px rgba(0,0,0,.25); cursor:pointer; max-width:calc(100vw - 32px); }
.concierge-fab:hover { background:#265a94; }
.concierge { display:flex; flex-direction:column; gap:10px; }
.btn-row.wrap { flex-wrap:wrap; }
.concierge-log { display:flex; flex-direction:column; gap:8px; max-height:48vh; overflow-y:auto; }
.concierge-msg { padding:8px 10px; border-radius:10px; overflow-wrap:anywhere; }
.concierge-msg.you { align-self:flex-end; background:#e6f0fb; max-width:85%; }
.concierge-msg.ai { align-self:flex-start; background:#f4f4f5; max-width:95%; }
.concierge-input { display:flex; gap:6px; }
.concierge-input textarea { flex:1; }

/* 公開前ゲート: 初めての利用者向けの一言説明 */
.screen-hint { margin:6px 0 12px; padding:10px 12px; background:#eef4fb; border-left:3px solid #2b6cb0; border-radius:6px; font-size:13px; line-height:1.6; color:#2a3b4d; overflow-wrap:anywhere; }
@media (prefers-color-scheme: dark) { .screen-hint { background:#1e2732; color:#c7d2dd; border-left-color:#4a90d9; } }
