/* 共通：画面上の細いナビ（プロフィールのカードの外） */
.app-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 6px; padding: 8px 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-bottom: 1px solid #E3E8F2; font-family: 'Noto Sans JP', sans-serif; }
.app-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; color: #3E4864; text-decoration: none; font-size: 14px; font-weight: 700; }
.app-nav a:hover { background: #F2F4FA; }
.app-nav a.on { background: #1B2A4E; color: #fff; }
.app-nav .brand { color: #1B2A4E; font-weight: 900; font-size: 16px; margin-right: 10px; }
.app-nav .brand small { font-size: 11px; color: #8A93A8; font-weight: 700; }
.app-nav .tag { font-size: 10.5px; padding: 1px 6px; border-radius: 6px; font-weight: 700; }
.tag.demo { background: #EDE9FE; color: #5B4FC7; } .tag.dev { background: #FFF1D6; color: #A16207; }
.app-nav a.on .tag { background: rgba(255,255,255,.2); color: #fff; }
.person-switch { margin-left: auto; font-size: 13px; color: #5B6680; display: flex; align-items: center; gap: 6px; }
.person-switch select { border: 1px solid #DCE1EC; border-radius: 8px; padding: 5px 8px; font-family: inherit; font-size: 13px; }
.report-meta { width: 1440px; margin: 0 auto 30px; font-size: 11.5px; color: #8A93A8; font-family: 'Noto Sans JP', sans-serif; line-height: 1.7; }
.app-body { margin: 0; background: #F2F4FA; font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif; color: #2B3550; }
.dev-banner { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; }
.dev-banner.demo { background: #F1EEFE; color: #4C3FB3; border: 1px solid #DDD6FE; }
.dev-banner.dev { background: #FFF7E6; color: #8A5A00; border: 1px solid #FBE3B0; }
.muted { color: #6B7488; } .small { font-size: 12.5px; }
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px; border: 1px solid #DCE1EC; background: #fff; color: #1B2A4E; font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.btn.primary { background: #5B4FC7; border-color: #5B4FC7; color: #fff; }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* hidden 属性を display 指定より優先する（着信画面・通知が出たままにならないように） */
[hidden] { display: none !important; }

/* 2026-11-17：いま、つまづいていること／読み解きの注記（デザインは既存の .keywords・.insight-title に合わせる） */
.keywords.stumble-row { margin-top: 6px; }
.keywords.stumble-row b { color: #C0392B; }
.insight-title .insight-note { font-size: 13px; font-weight: 500; color: #6B7488; margin-left: 10px; }
.quadrant .q { position: relative; }
.quadrant .q-name { position: absolute; left: 10px; top: 6px; font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; opacity: .75; }
.q.tl .q-name { color: #B23A4A; } .q.tr .q-name { color: #A9790F; } .q.bl .q-name { color: #4E7BA6; } .q.br .q-name { color: #3F7A35; }

/* 2026-11-17：① わたしのプロフィール線（37特性・5領域）＋北村式の型（仮） */
.pl-weak { color: #2F6FB3; } .pl-strong { color: #C2601E; }
.line-type { display: grid; grid-template-columns: 196px 1fr; gap: 12px; background: linear-gradient(135deg, #1B2A4E, #33508A); color: #fff; border-radius: 14px; padding: 12px 16px; margin: 4px 0 10px; }
.line-type .lt-main { display: flex; flex-direction: column; justify-content: center; cursor: help; border-right: 1px solid rgba(255,255,255,.18); padding-right: 10px; }
.line-type .lt-main small { font-size: 12px; color: #C9D5F0; }
.line-type .lt-ver { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 6px; background: rgba(255,255,255,.16); font-size: 10.5px; }
.line-type .lt-name { font-size: 21px; font-weight: 900; line-height: 1.3; margin: 3px 0 4px; }
.line-type .lt-nick { align-self: flex-start; font-size: 12px; font-weight: 700; color: #1B2A4E; background: #FFD9B8; border-radius: 999px; padding: 1px 10px; }
.line-type .lt-body p { margin: 0; }
.line-type .lt-look { font-size: 13.5px; font-weight: 700; color: #FFD9B8; }
.line-type .lt-look i { margin-right: 6px; }
.line-type .lt-hint { font-size: 13px; line-height: 1.65; color: #EAF0FB; margin: 3px 0 6px !important; }
.line-type .lt-codes { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.line-type .lt-chip { font-size: 11.5px; font-weight: 700; background: #fff; color: #1B2A4E; border-radius: 999px; padding: 1px 9px 1px 3px; cursor: help; }
.line-type .lt-chip i { font-style: normal; display: inline-block; background: var(--c); color: #fff; border-radius: 999px; padding: 0 7px; margin-right: 5px; }
.line-type .lt-n { margin-left: auto; font-size: 11.5px; color: #C9D5F0; }
.profile-line { display: flex; justify-content: center; }
.profile-line svg { overflow: visible; }
.profile-line .pl-row { cursor: pointer; outline: none; }
.profile-line .pl-row:hover > rect:first-child, .profile-line .pl-row:focus > rect:first-child { fill: rgba(27,42,78,.06); }
.line-legend { justify-content: center; margin-top: 6px; background: #F6F7FB; border-radius: 10px; padding: 7px 10px; }
.pl-sw { display: inline-block; width: 20px; height: 10px; border-radius: 2px; vertical-align: middle; margin-right: 4px; }
.pl-sw.weak { background: #3F86D1; } .pl-sw.strong { background: #E8792E; }
.pl-sw.line { background: #1B2A4E; height: 3px; } .pl-sw.none { border: 1.5px dashed #AAB4C8; background: #fff; }

/* 【開発用・DEV-ONLY】ヘッダーの「専門家向け解説」ボタン（そのうち削除） */
.app-nav a.dev-only { border: 1.5px dashed #E0B252; color: #8A5A00; background: #FFFAF0; }
.app-nav a.dev-only.on { background: #8A5A00; color: #fff; border-color: #8A5A00; }
