.report-dialog{width:min(920px,96vw);max-height:92dvh;padding:clamp(16px,3vw,32px);border:1px solid #aabbb1;border-radius:12px;color:#20382b;background:#f6f8f5;box-shadow:0 20px 70px #132e2933;overflow:auto}
.report-dialog::backdrop{background:#122b25a6}.report-dialog p{line-height:1.65}.report-bar,.report-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.report-bar h2{margin:0}.report-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.report-dialog label{display:grid;gap:4px;font-size:14px;font-weight:600}.report-dialog input,.report-dialog select,.report-dialog textarea{width:100%;font:inherit;font-weight:400;background:white;border:1px solid #a8b9ad;padding:9px;border-radius:5px;color:#18382b;min-height:44px}.report-tools{justify-content:flex-start;align-items:flex-end;margin:16px 0}.report-hint{font-size:14px}.report-dialog summary{cursor:pointer;padding:.6rem 0}.report-dialog [data-status]{color:#245c47}.report-dialog [data-list] li{overflow-wrap:anywhere}
.report-paper{background:white;border:1px solid #bbc7bf;padding:clamp(15px,3.4vw,38px);color:#172c22;font-size:14px;overflow-wrap:anywhere}.report-paper+.report-paper{margin-top:16px}.report-paper header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;border-bottom:2px solid #29513f;padding-bottom:10px}.report-paper header span,.report-paper header b{font-size:12px;color:#435a4b}.report-paper h2{margin:4px 0}.report-paper h3{font-size:16px;margin:18px 0 6px}.report-answer{font-size:16px;background:#ecf3e9;border-left:4px solid #396747;padding:10px 14px;font-weight:700}.report-facts{display:grid;grid-template-columns:1fr 1fr;margin:0}.report-facts div{display:grid;grid-template-columns:34% 1fr;padding:5px 0;gap:6px;border-bottom:1px solid #dee4de}.report-facts dt{color:#506655}.report-facts dd{margin:0}.report-table{overflow:auto}.report-table table{width:100%;min-width:0;border-collapse:collapse;font-size:inherit}.report-table td,.report-table th{border:1px solid #bdc9c0;padding:5px 8px;text-align:left;white-space:normal}.report-table thead{background:#edf3ed}.report-paper ol,.report-paper ul{padding-left:1.5em}.report-sources li{margin-bottom:8px}.report-sources a{text-decoration:underline}.report-sources small{display:block;overflow-wrap:anywhere;color:#485a50}.report-sources p,.report-note{margin:3px 0;white-space:pre-line}.report-foot{border-top:1px solid #bdc9c0;padding-top:8px;font-size:12px}
#report-printout{display:none}
@media(max-width:600px){.report-dialog{max-height:95dvh}.report-inputs,.report-facts{grid-template-columns:1fr}.report-tools>*{flex:1 1 100%}.report-table table{min-width:350px}}
@media print{
 @page denkoReport{size:A4 portrait;margin:14mm;@bottom-left{content:"DENKO　設備設計計算書";color:#52645a;font:8pt sans-serif}@bottom-right{content:counter(page) " / " counter(pages);color:#52645a;font:8pt sans-serif}}
 body:has(>#report-printout)>:not(#report-printout){display:none!important}
 body:has(>#report-printout),html:has(#report-printout){height:auto!important;overflow:visible!important;background:white!important}
 #report-printout{display:block!important;page:denkoReport}
 dialog.report-dialog::backdrop{display:none!important;background:none!important}
 .report-paper{display:block;margin:0!important;padding:0!important;border:0!important;font-size:9.5pt;line-height:1.45}
 .report-paper+.report-paper{break-before:page}.report-paper h2{font-size:16pt}.report-paper h3{font-size:11pt;break-after:avoid}.report-answer{font-size:11pt}.report-paper section{break-inside:auto}.report-table{overflow:visible}.report-table table{min-width:0;table-layout:auto}.report-table thead{display:table-header-group}.report-table tr,.report-sources li,.report-facts div{break-inside:avoid}.report-sources small{font-size:8pt}.report-foot{font-size:8pt}.report-facts{grid-template-columns:1fr 1fr}.report-paper a{color:#172c22}
}
