.elem-木{color: #2e7d32}.elem-火{color: #c62828}.elem-土{color: #827717}.elem-金{color: #616161}.elem-水{color: #1565c0}.meishiki-section h2{margin-top: 0}.meishiki-table-wrap{overflow-x: auto;margin-bottom: 1.2rem}.meishiki-table{min-width: 420px;border-collapse: separate;border-spacing: 0}.meishiki-table th,.meishiki-table td{border: 1px solid var(--border);padding: 0.4rem 0.7rem;text-align: center;vertical-align: middle}.meishiki-table thead th{background: var(--bg);font-weight: 700;font-size: 0.85rem;color: var(--muted)}.meishiki-table tbody th{background: var(--bg);font-size: 0.78rem;color: var(--muted);white-space: nowrap}.meishiki-table td.is-daymaster{background: #fff8f0;border-color: var(--accent)}.meishiki-table thead th.is-daymaster{background: #ffecd9;color: var(--accent-strong)}.kanshi-char{display: block;font-size: 2rem;font-weight: 900;line-height: 1}.elem-label{display: block;font-size: 0.7rem;color: var(--muted);margin-top: 0.15rem}.tsuhensei{font-size: 0.82rem;font-weight: 600;display: inline-block;background: var(--bg);border: 1px solid var(--border);border-radius: 4px;padding: 0.1rem 0.4rem}.tsuhensei-日主{background: #ffecd9;border-color: var(--accent);color: var(--accent-strong)}.tsuhensei-比肩,.tsuhensei-劫財{color: #2e7d32}.tsuhensei-食神,.tsuhensei-傷官{color: #c62828}.tsuhensei-偏財,.tsuhensei-正財{color: #827717}.tsuhensei-偏官,.tsuhensei-正官{color: #616161}.tsuhensei-偏印,.tsuhensei-正印{color: #1565c0}.zogan-item{display: inline-block;font-size: 1.05rem;font-weight: 700;margin: 0 2px;cursor: default}.zogan-tsuhensei-list{display: flex;flex-wrap: wrap;justify-content: center;gap: 0.22rem;min-width: 112px}.zogan-tsuhensei-list span{display: inline-flex;align-items: center;gap: 0.18rem;padding: 0.16rem 0.32rem;border: 1px solid #dce2ef;border-radius: 4px;color: #4d5f89;background: #f3f5fa;font-size: 0.7rem;white-space: nowrap}.zogan-tsuhensei-list b{font-size: 0.78rem}.tsuhensei-mark{display: inline-flex;align-items: center;justify-content: center;min-width: 3.4rem;padding: 0.16rem 0.4rem;border: 1px solid;border-radius: 4px;font-size: 0.74rem;font-weight: 700;white-space: nowrap}.tsuhensei-mark-stem{border-color: #edc9b5;color: var(--accent-strong);background: #fff3eb}.row-junishi td{font-size: 0.8rem}.meishiki-note{font-size: 0.8rem;color: var(--muted);margin: 0.4rem 0 0}.kuubou-result-list{display: grid;gap: 0.4rem}.kuubou-result{display: flex;align-items: center;justify-content: space-between;gap: 0.75rem;min-height: 2.8rem;padding: 0.55rem 0.7rem;border-left: 3px solid var(--accent);background: #f7f8f9}.kuubou-result span{color: var(--muted);font-size: 0.74rem}.kuubou-result strong{color: var(--accent-strong);font-size: 1rem}.muted{color: var(--muted)}.fortune-section{overflow: hidden}.fortune-section-head{display: flex;align-items: flex-start;gap: 0.8rem;margin-bottom: 1rem;padding-bottom: 0.9rem;border-bottom: 1px solid var(--border)}.fortune-section-head h2{margin: 0.1rem 0 0.18rem;font-size: 1.2rem}.fortune-section-head p{margin: 0;color: var(--muted);font-size: 0.8rem;line-height: 1.5}.fortune-category-panel{grid-column: 2;grid-row: 1;padding-top: 0}.fortune-insight-note{margin: 0.9rem 0 0;color: var(--muted);font-size: 0.72rem;line-height: 1.6}.fortune-overview-guide{display: grid;grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr));gap: 0.75rem;margin-top: 1rem}.fortune-overview-guide article{padding: 0.9rem 1rem;border: 1px solid var(--ur-line,var(--fp-line,var(--border)));border-top: 3px solid var(--ur-gold,var(--fp-gold,var(--accent)));border-radius: 10px;background: rgba(255,255,255,0.82)}.fortune-overview-guide article:nth-child(even){border-top-color: var(--ur-highlight,var(--fp-indigo,var(--accent-strong)))}.fortune-overview-guide span{color: var(--ur-highlight,var(--fp-vermilion,var(--accent-strong)));font-size: 0.62rem;font-weight: 900;letter-spacing: 0.08em}.fortune-overview-guide h3{margin: 0.25rem 0 0.4rem;color: var(--ur-ink,var(--fp-ink,var(--text)));font-family: "Hiragino Mincho ProN","Yu Mincho",serif;font-size: 0.92rem}.fortune-overview-guide p{margin: 0;color: var(--ur-ink-soft,var(--fp-ink-soft,var(--muted)));font-size: 0.7rem;line-height: 1.7}#fortune-panel-meishiki .fact-sections > .fact-data-section:not(:first-child),#sanmei-panel-insan .sanmei-elements-section,#sanmei-panel-yousen .sanmei-life-energy-card,#nine-star-panel-stars .nine-star-secondary-grid{display: none}.fortune-category-panel > .card{margin: 0;min-height: 31rem;border: 0;border-radius: 0 8px 8px 0;background: transparent;box-shadow: none}.fortune-category-panel .meishiki-table-wrap{margin-top: 0}.fact-sections{display: grid;grid-template-columns: repeat(3,minmax(0,1fr));gap: 0.8rem}.fact-data-section{min-width: 0;padding: 0.75rem;border: 1px solid var(--border);border-radius: 6px;background: #fff}.fact-sections > .fact-data-section:first-child{grid-column: 1 / -1;padding-top: 0.75rem;border-top: 1px solid var(--border)}.fact-data-section > h3{margin: 0 0 0.6rem;font-size: 0.92rem}.fact-metric-grid{display: grid;grid-template-columns: repeat(auto-fit,minmax(110px,1fr));gap: 0.55rem}.fact-metric-grid-stars{grid-template-columns: repeat(auto-fit,minmax(125px,1fr))}.fact-metric{display: grid;gap: 0.15rem;padding: 0.55rem;border: 1px solid var(--border);border-radius: 4px;background: #fff;text-align: center}.fact-metric-label{font-size: 0.78rem;font-weight: 700}.fact-metric strong{font-size: 1.4rem}.fact-metric small{color: var(--muted);font-size: 0.68rem}.element-count-pair{display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 0.35rem}.element-count-pair > span{display: grid;gap: 0.1rem;padding: 0.35rem 0.2rem;border-radius: 3px;background: #faf7f2}.element-count-pair > span:last-child{background: #f3f5fa}.element-count-pair strong{font-size: 1.2rem}.yin-yang-balance{margin-top: 0.75rem;padding-top: 0.7rem;border-top: 1px solid var(--border)}.yin-yang-balance h4{margin: 0 0 0.45rem;font-size: 0.78rem}.yin-yang-counts{display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 0.4rem}.yin-yang-counts > span{display: flex;align-items: baseline;justify-content: space-between;gap: 0.5rem;padding: 0.42rem 0.55rem;border: 1px solid;border-radius: 4px}.yin-yang-counts small{font-size: 0.7rem;font-weight: 700}.yin-yang-counts strong{font-size: 1.1rem}.yin-yang-counts .is-yang{border-color: #efd1a2;color: #895821;background: #fff6e7}.yin-yang-counts .is-yin{border-color: #cbd5ed;color: #4d5f89;background: #f1f4fb}.yin-yang-bar{display: flex;height: 0.45rem;margin-top: 0.45rem;overflow: hidden;border-radius: 999px;background: #eee7dd}.yin-yang-bar .is-yang{background: #d69b4b}.yin-yang-bar .is-yin{background: #7689b8}.chart-section{margin-top: 1.1rem;padding-top: 0.95rem;border-top: 1px dashed var(--border)}.charts-grid{display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 0.85rem}.chart-card{border: 1px solid var(--border);border-radius: 14px;padding: 0.85rem 0.9rem 0.65rem;background: #fff;box-shadow: 0 5px 16px rgba(38,45,51,0.05)}.chart-card h4{margin: 0.1rem 0 0.25rem;font-size: 0.98rem}.chart-kicker{color: var(--accent);font-size: 0.65rem;font-weight: 800;letter-spacing: 0.08em}.chart-title-row{display: flex;justify-content: space-between;align-items: flex-start;gap: 1rem}.chart-box{width: 100%;height: 275px}.chart-box-balance,.chart-box-stars{height: 310px}.chart-box-fortune{height: 235px}.chart-box-band{height: 160px}@media (max-width: 860px){.chart-title-row{align-items: flex-start;flex-direction: column}.charts-grid{grid-template-columns: 1fr}.chart-box{height: 245px}.chart-box-balance,.chart-box-stars{height: 285px}.chart-box-fortune{height: 225px}.chart-box-band{height: 150px}}.daiun-wrap{margin-top: 0}.annual-wrap{margin-top: 0}.annual-table-wrap{overflow-x: auto}.annual-table{width: 100%;min-width: 560px;border-collapse: collapse}.annual-table th,.annual-table td{border-bottom: 1px solid var(--border);padding: 0.5rem 0.35rem;text-align: left;font-size: 0.84rem}.monthly-wrap{margin-top: 0}.section-title-row{display: flex;justify-content: space-between;align-items: flex-end;gap: 0.75rem;margin-bottom: 0.85rem;padding-bottom: 0.72rem;border-bottom: 1px solid #e5e7e9}.section-title-row h2{margin: 0.1rem 0 0;color: #303438;font-size: 1.12rem;font-weight: 700;letter-spacing: 0.01em}.heading-with-icon{display: flex;align-items: center;gap: 0.38rem}.heading-with-icon .ui-icon{width: 1.05rem;height: 1.05rem;color: var(--accent)}.section-description{max-width: 42rem;margin: 0.3rem 0 0;color: #747b81;font-size: 0.72rem;line-height: 1.75}.section-kicker{color: var(--accent);font-size: 0.66rem;font-weight: 800;letter-spacing: 0.14em}.container:not(.unified-fortune-report-container) .section-kicker{display: inline-flex;align-items: center;gap: 0.35rem}.container:not(.unified-fortune-report-container) .section-kicker::before{width: 0.85rem;height: 1px;flex: 0 0 auto;background: currentColor;content: ""}.container.customer-detail-container{width: min(1180px,calc(100% - 2rem));gap: 0.9rem}.customer-page-head{padding: 0.35rem 0.1rem 0.2rem}.customer-page-title h1{margin: 0.12rem 0 0.35rem;font-size: clamp(1.55rem,3vw,2.15rem);line-height: 1.2}.customer-overview-grid{display: grid;grid-template-columns: minmax(0,1.35fr) minmax(280px,0.85fr);gap: 0.9rem}.customer-info-card,.customer-memo-card{min-width: 0}.customer-info-card .section-title-row,.customer-memo-card .section-title-row{margin-bottom: 0.7rem;padding-bottom: 0.65rem;border-bottom: 1px solid var(--border)}.customer-info-card .section-title-row h2,.customer-memo-card .section-title-row h2{font-size: 1.06rem}.customer-fact-grid{display: grid;grid-template-columns: 1.25fr 0.9fr 0.7fr 1.25fr;gap: 0.6rem;margin: 0}.customer-fact-grid > div{min-width: 0;padding: 0.72rem 0.78rem;border: 1px solid var(--border);border-radius: 10px;background: rgba(255,255,255,0.64)}.customer-fact-grid dt{display: flex;align-items: center;gap: 0.3rem;margin-bottom: 0.18rem;color: var(--muted);font-size: 0.7rem}.customer-fact-grid dt .ui-icon{width: 0.82rem;height: 0.82rem;color: var(--accent)}.customer-fact-grid dd{margin: 0;font-size: 0.94rem;font-weight: 800;line-height: 1.45}.customer-memo{min-height: 4.4rem;margin: 0;padding: 0.15rem 0.1rem;color: var(--text);font-size: 0.86rem;line-height: 1.75;overflow-wrap: anywhere}.customer-memo.is-empty{color: var(--muted)}.customer-fortune-menu{overflow: hidden;background: radial-gradient(circle at 94% 8%,rgba(191,90,54,0.11),transparent 28%),var(--card)}.customer-fortune-menu .section-title-row{margin-bottom: 0.8rem;padding-bottom: 0.7rem;border-bottom: 1px solid var(--border)}.customer-fortune-grid{display: grid;grid-template-columns: repeat(4,minmax(0,1fr));gap: 0.75rem}.customer-fortune-card{display: grid;grid-template-columns: auto minmax(0,1fr);grid-template-rows: 1fr auto;gap: 0.75rem;align-content: start;min-width: 0;min-height: 12rem;padding: 1rem;border: 1px solid var(--border);border-radius: 13px;background: rgba(255,255,255,0.72);transition: border-color 0.16s ease,box-shadow 0.16s ease,transform 0.16s ease}.customer-fortune-card:hover,.customer-fortune-card:focus-within{border-color: rgba(191,90,54,0.48);box-shadow: 0 8px 20px rgba(73,49,33,0.08);transform: translateY(-2px)}.customer-fortune-icon{display: grid;width: 2.75rem;height: 2.75rem;place-items: center;border: 1px solid rgba(191,90,54,0.2);border-radius: 11px;color: var(--accent-strong);background: #f8e9dc}.customer-fortune-icon .ui-icon{width: 1.25rem;height: 1.25rem}.customer-fortune-icon-sanmei{color: #5c664d;background: #edf0e6}.customer-fortune-icon-numerology{color: #675885;background: #eee9f6}.customer-fortune-icon-nine-star{color: #4f6f66;background: #e3eee9}.customer-fortune-copy{min-width: 0}.customer-fortune-copy h3{margin: 0.12rem 0 0.35rem;font-size: 1.05rem}.customer-fortune-copy p{margin: 0;color: var(--muted);font-size: 0.76rem;line-height: 1.65}.customer-fortune-card .btn{grid-column: 1 / -1;align-self: end;width: 100%;margin-top: 0.15rem}@media (max-width: 1050px){.customer-overview-grid{grid-template-columns: 1fr}.customer-fortune-grid{grid-template-columns: repeat(2,minmax(0,1fr))}}@media (max-width: 820px){.glossary-grid{grid-template-columns: 1fr}.customer-fortune-grid{grid-template-columns: repeat(2,minmax(0,1fr))}.customer-fortune-card{min-height: 0}.customer-fact-grid{grid-template-columns: repeat(2,minmax(0,1fr))}}@media (max-width: 480px){.customer-page-head{align-items: stretch}.customer-page-head .actions,.customer-page-head .actions .btn,.customer-page-head .actions form{width: 100%}.customer-page-head .actions{display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 0.5rem}.customer-fortune-grid{gap: 0.5rem}.customer-fortune-card{grid-template-columns: 2.2rem minmax(0,1fr);gap: 0.55rem;height: 100%;padding: 0.72rem;border-radius: 11px}.customer-fortune-icon{width: 2.2rem;height: 2.2rem;border-radius: 9px}.customer-fortune-icon .ui-icon{width: 1.05rem;height: 1.05rem}.customer-fortune-copy .section-kicker{font-size: 0.52rem;letter-spacing: 0.08em}.customer-fortune-copy h3{margin: 0.08rem 0 0.25rem;font-size: 0.9rem}.customer-fortune-copy p{display: -webkit-box;overflow: hidden;font-size: 0.68rem;line-height: 1.5;-webkit-box-orient: vertical;-webkit-line-clamp: 3}.customer-fortune-card .btn{min-height: 2.5rem;padding-inline: 0.5rem;font-size: 0.72rem}}