/* The user's photo is the layout reference; existing factual content is retained. */
html body .kmd-photo-wrapper { border:0; border-radius:0; background:transparent; overflow:visible; }
html body .kmd-photo-context { font:400 12px/1.6 var(--kmd-font-sans); color:var(--kmd-text-muted); margin-top:4px; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lauto,html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-photo-context .kmd-chip { max-width:100%; min-width:0; white-space:normal; overflow-wrap:anywhere; box-sizing:border-box; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-photo-value { white-space:normal; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lauto { display:block; width:fit-content; margin:4px 0 0; }
html body a.kmd-btn[href="/kyufukin/"] { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list { width:100%; min-width:0; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lmeta { display:none !important; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list td.kmd-lcol-amount,html body .kmd-photo-list.kmd-photo-list.kmd-photo-list td.kmd-lcol-kind { display:grid !important; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-hub-money { display:block; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-hub-dl-what { display:block; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-hub-dl-elig { display:block; font:400 13px/1.5 var(--kmd-font-sans); margin-top:5px; color:var(--kmd-text-muted); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-hub-provider { font:400 12px/1.5 var(--kmd-font-sans); }
html body .kmd-munis-card,html body .kmd-rk-pickcard,html body .kmd-rk-podium-card { border-radius:var(--kmd-photo-card-radius); box-shadow:var(--kmd-photo-card-shadow); }
html body #search-app .pagefind-ui__results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--kmd-photo-card-gap); }
html body #search-app .pagefind-ui__result { min-width:0; margin:0; padding:18px; border:1px solid var(--kmd-bg-subtle); border-radius:var(--kmd-photo-card-radius); box-shadow:var(--kmd-photo-card-shadow); background:var(--kmd-bg); }
html body #search-app .pagefind-ui__result .pagefind-ui__result-inner { display:flex; flex-direction:column; gap:8px; min-width:0; }
html body #search-app .pagefind-ui__result .pagefind-ui__result-title,html body #search-app .pagefind-ui__result .kmd-search-summary { margin:0; padding:0; border:0; }
html body #search-app .pagefind-ui__result a.pagefind-ui__result-link { font:750 17px/1.5 var(--kmd-font-sans); color:var(--kmd-text); text-decoration:none; }
html body #search-app .pagefind-ui__result .kmd-search-summary { font:400 13px/1.6 var(--kmd-font-sans); color:var(--kmd-text-muted); }
html body #search-app .pagefind-ui__result .kmd-search-kind { background:var(--kmd-photo-card-tint); border-radius:8px; padding:2px 8px; color:var(--kmd-brand-purple); font-size:11px; }
html body #search-app .pagefind-ui__result .kmd-search-tags { display:flex; flex-wrap:wrap; gap:6px; margin:0; }
html body #search-app .kmd-search-facts { display:grid; grid-template-columns:100px minmax(0,1fr); gap:8px; margin:4px 0 0; border-top:1px solid var(--kmd-border); padding-top:12px; font:400 14px/1.5 var(--kmd-font-sans); }
html body #search-app .kmd-search-facts dt { font-size:12px; font-weight:600; color:var(--kmd-text-muted); }
html body #search-app .kmd-search-facts dd { margin:0; min-width:0; overflow-wrap:anywhere; }
html body #search-app .kmd-search-facts .kmd-search-money,html body #search-app .kmd-search-facts .kmd-search-money-main { display:block; margin:0; }
html body #search-app .kmd-search-facts .kmd-search-money-label { font-size:13px; margin-right:4px; }
html body #search-app .kmd-search-facts .kmd-search-money-value { font:750 23px/1.3 var(--kmd-font-sans); color:var(--kmd-photo-card-accent); overflow-wrap:anywhere; }
html body #search-app .kmd-search-acceptance { display:flex; flex-wrap:wrap; gap:4px; padding:7px 9px; border-radius:9px; background:var(--kmd-photo-deadline-tint); font-size:12px; }
html body #search-app .pagefind-ui__result .kmd-search-foot { display:flex; justify-content:flex-end; margin:0; padding:0; border:0; }
html body #search-app .pagefind-ui__result .kmd-search-cta-box { align-items:flex-end; }
html body #search-app .pagefind-ui__result a.kmd-search-cta { display:inline-flex; padding:7px 20px; min-height:36px; border:0; border-radius:999px; background:var(--kmd-photo-card-accent); color:var(--kmd-bg); font:700 13px/1.5 var(--kmd-font-sans); text-decoration:none; }
html body #search-app .pagefind-ui__result a.kmd-search-cta::after { content:none; }
html body #search-app .pagefind-ui__result .kmd-search-source { font-size:11px; }
@media(max-width:900px){html body #search-app .pagefind-ui__results{grid-template-columns:minmax(0,1fr)}}
@media(max-width:359px){html body #search-app .kmd-search-facts{grid-template-columns:88px minmax(0,1fr);gap:5px}}
html body .kmd-lamount-value.kmd-photo-nonnumeric { font-size:14px; font-weight:400; white-space:normal; overflow-wrap:anywhere; }
html body .kmd-hub-next > a { min-width:0; max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.kmd-photo-filter-shell { background:var(--kmd-photo-card-tint); border-radius:var(--kmd-photo-card-radius); padding:12px 14px; margin-block:16px 12px; font-family:var(--kmd-font-sans); }
.kmd-photo-filters > summary { display:flex; align-items:center; justify-content:space-between; gap:8px; cursor:pointer; list-style:none; color:var(--kmd-text); }
.kmd-photo-filters > summary::-webkit-details-marker { display:none; }
.kmd-photo-filters > summary strong { font-size:15px; }
.kmd-photo-filter-action { font-size:12px; border:1px solid var(--kmd-border); border-radius:999px; padding:4px 10px; color:var(--kmd-brand-purple); white-space:nowrap; }
html body .kmd-photo-filter-readout,html body .kmd-photo-filter-count { margin:8px 0 0; font:400 13px/1.6 var(--kmd-font-sans); color:var(--kmd-text-muted); }
html body .kmd-photo-filters .kmd-mc-filters { margin:14px 0 0; padding:12px; background:var(--kmd-bg); }
html body #result.kmd-photo-summary-source { position:absolute; width:1px; height:1px; min-height:0; padding:0; margin:0; border:0; overflow:hidden; clip-path:inset(50%); }
.kmd-photo-unverified { margin-top:8px; font-size:12px; color:var(--kmd-text-muted); }
.kmd-photo-unverified summary { cursor:pointer; }
html body .kmd-photo-unverified .kmd-mc-unknown { margin:8px 0 0; }
html body table.kmd-photo-list.kmd-photo-list.kmd-photo-list { display:block; border:0; background:transparent; border-radius:0; overflow:visible; font-family:var(--kmd-font-sans); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list tbody { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--kmd-photo-card-gap); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list tbody tr { display:block; position:relative; margin:0; padding:14px; border:1px solid var(--kmd-bg-subtle); border-radius:var(--kmd-photo-card-radius); background:var(--kmd-bg); box-shadow:var(--kmd-photo-card-shadow); min-width:0; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list tbody tr:hover { background:var(--kmd-bg); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list tbody td { display:grid; grid-template-columns:100px minmax(0,1fr); align-items:start; gap:8px; padding:4px 0; border:0; height:auto; min-width:0; font-size:14px; line-height:1.5; word-break:normal; overflow-wrap:anywhere; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list td[data-label]::before { display:block; content:attr(data-label); padding-left:26px; color:var(--kmd-text-muted); font-size:12px; font-weight:600; line-height:22px; background-position:left 2px; background-repeat:no-repeat; background-size:18px; white-space:nowrap; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list td[data-label="制度名"] { display:block; padding:0 0 10px; margin:0 0 7px; border-bottom:1px solid var(--kmd-border); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list td[data-label="制度名"]::before,html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-photo-footer::before { content:none; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list td.kmd-photo-footer[data-label]::before,html body .kmd-photo-list.kmd-photo-list.kmd-photo-list a.kmd-photo-cta::after { content:none; display:none; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list tbody tr > td.kmd-photo-footer::after { content:none; display:none; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lname { display:flex; align-items:flex-start; gap:14px; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lglyph { display:block; flex:0 0 46px; width:46px; height:46px; padding:10px; border-radius:11px; color:var(--kmd-brand-purple); background:var(--kmd-photo-card-tint); box-sizing:border-box; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lname-body { flex:1; min-width:0; position:relative; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lname-body > a,html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lname-body > .kmd-plink { display:block; min-height:0; margin:0; padding:0 12px 0 0; font-family:var(--kmd-font-sans); color:var(--kmd-text); font-size:17px; font-weight:750; line-height:1.5; text-decoration:none; border:0; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lname-body::after { content:'›'; position:absolute; right:0; top:20px; color:var(--kmd-brand-purple); font-size:23px; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-photo-kind { display:table; width:auto; padding:1px 9px; margin:0 0 4px; border-radius:8px; background:var(--kmd-photo-card-tint); color:var(--kmd-brand-purple); font:600 11px/1.6 var(--kmd-font-sans); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lname-body small { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin-top:5px; color:var(--kmd-text-muted); font:400 13px/1.5 var(--kmd-font-sans); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-photo-value { min-width:0; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lamount-label { display:inline; font-size:13px; color:var(--kmd-text); margin-right:4px; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lamount-value { display:inline; font:750 clamp(21px,2.2vw,25px)/1.3 var(--kmd-font-sans); color:var(--kmd-photo-card-accent); font-variant-numeric:tabular-nums; overflow-wrap:normal; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lamount-value.kmd-photo-nonnumeric { font-size:14px; font-weight:400; color:var(--kmd-text-muted); white-space:normal; overflow-wrap:anywhere; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-photo-date { padding:5px 9px 5px 35px; border-radius:9px; background:var(--kmd-photo-deadline-tint); position:relative; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-photo-date::before { content:''; position:absolute; left:9px; top:10px; width:20px; height:20px; background:var(--kmd-photo-card-accent); mask:var(--kmd-photo-calendar) center/contain no-repeat; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-photo-date .kmd-mc-when { font-weight:700; color:var(--kmd-photo-card-accent); font-size:14px; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-ldays { display:block; margin:0; font-size:12px; color:var(--kmd-text); line-height:1.4; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list tbody td.kmd-photo-footer { display:flex; justify-content:flex-end; padding:4px 0 0; }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list a.kmd-photo-cta { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:34px; padding:5px 21px; border-radius:999px; background:var(--kmd-photo-card-accent); color:var(--kmd-bg); font:700 13px/1.5 var(--kmd-font-sans); text-decoration:none; box-shadow:var(--kmd-photo-card-shadow); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list a.kmd-photo-cta:hover { filter:brightness(.94); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list a:focus-visible { outline:3px solid var(--kmd-brand-purple); outline-offset:3px; }
@media(max-width:900px){html body .kmd-photo-list.kmd-photo-list.kmd-photo-list tbody{grid-template-columns:minmax(0,1fr)}}
@media(max-width:359px){html body .kmd-photo-list.kmd-photo-list.kmd-photo-list tbody td{grid-template-columns:88px minmax(0,1fr);gap:5px}html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lname{gap:10px}html body .kmd-photo-list.kmd-photo-list.kmd-photo-list .kmd-lamount-value{font-size:20px}}
/* Reused document and calendar paths: TalkPanel.astro and CtaBlock.tsx. */
:root { --kmd-photo-calendar:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='16' rx='2'/%3E%3Cpath d='M4 10h16M9 3v4M15 3v4'/%3E%3C/svg%3E"); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list td[data-label="受付・締切"]::before { background-image:var(--kmd-photo-calendar); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list td[data-label="支援の種類"]::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23605d6b' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E"); }
html body .kmd-photo-list.kmd-photo-list.kmd-photo-list td[data-label="支援内容"]::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23605d6b' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 5l5 7 5-7M12 12v7M8 14h8M8 17h8'/%3E%3C/svg%3E"); }
