body { height: 100dvh; display: flex; flex-direction: column; }
main:not(.login) { flex: 1; min-height: 0; height: auto; }
.row .t, .row .m { display: block; }
.detail-heading { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.detail-summary { flex: 0 1 auto; min-width: 0; }
.detail-heading .internal { flex: 0 1 400px; margin: 0; }
.sort-note { color: #677084; font-size: 12px; margin: 8px 12px; }
@media (max-width: 760px) { header { flex-wrap: nowrap; overflow-x: auto; flex: none; } header h1, header select, header input, header button, header .count { flex: none; } main:not(.login) { height: auto; } .detail-heading { display: block; } .detail-heading .internal { margin: 10px 0; } }

.card-history{margin-top:18px;border-top:1px solid #e3e6ec;padding-top:12px;}.card-history summary{cursor:pointer;}.history-entry{padding:10px 0;border-bottom:1px solid #e3e6ec;}.history-before,.history-after{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px;max-height:180px;overflow:auto;}.history-before{color:#677084;}.history-after{padding-left:10px;border-left:2px solid #2f5bd3;}

.compact-check{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:12px;}.compact-check input{min-height:0;padding:0;width:15px;height:15px;}.project-children{margin-top:18px;padding-top:12px;border-top:1px solid #e3e6ec;}.project-children h3{font-size:16px;margin:0 0 8px;}.project-children button{border:1px solid #d5dcec;border-radius:6px;background:white;padding:6px 9px;}.project-unit{display:block;margin:6px 0;text-align:left;}

.record-warnings{display:block;color:#a76a12;font-size:11px;}

.other-prices{font-size:12px;color:#677084;margin:3px 0 6px;overflow-wrap:anywhere;}
