.tma-korsel{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#173247;max-width:1400px;margin:0 auto;font-size:15px}
.tma-korsel *{box-sizing:border-box}
.tma-korsel .tma-card{padding:22px;background:#fff;border:1px solid #e2eaf0;border-radius:12px;margin-bottom:16px}
.tma-korsel h2{font-size:26px;line-height:1.3;margin:0 0 8px;color:#173247}
.tma-korsel p{line-height:1.55;color:#526476;margin:8px 0 12px}
.tma-korsel .tma-stats{display:flex;flex-wrap:wrap;align-items:end;gap:20px 36px}
.tma-korsel .tma-stats strong{display:block;font-size:24px;margin-top:5px}
.tma-korsel .tma-stats span{font-size:14px;color:#526476}
.tma-korsel .tma-stats label{display:grid;gap:5px;font-size:14px;color:#526476}
.tma-korsel input{box-sizing:border-box;background:#fff;color:#173247;border:1px solid #c1ccd5;border-radius:6px;padding:7px 9px;line-height:1.5;font:inherit;width:100%;min-width:70px}
.tma-korsel input:focus{outline:2px solid #76b4d6;outline-offset:1px}
.tma-korsel .tma-stats input[type=number]{width:110px}
.tma-korsel button{border:0;border-radius:7px;font-size:14px;padding:10px 12px;background:#dfeaf1;color:#173247;cursor:pointer;white-space:nowrap}
.tma-korsel button.tma-primary,.tma-korsel .tma-actions button:first-child{background:#164e70;color:white}
.tma-korsel button:disabled{opacity:.55;cursor:progress}
.tma-korsel .tma-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.tma-korsel .tma-scroll{width:100%;overflow-x:auto}
.tma-korsel table{width:100%;min-width:1040px;border-collapse:collapse;font-size:13px;text-align:left}
.tma-korsel th{background:#eff4f7;padding:10px 6px;color:#173247;white-space:nowrap;border-bottom:1px solid #dce5eb}
.tma-korsel td{padding:7px 5px;vertical-align:middle;border-bottom:1px solid #e2eaf0}
.tma-korsel td:nth-child(1){min-width:169px}
.tma-korsel td:nth-child(2),.tma-korsel td:nth-child(3){min-width:185px}
.tma-korsel td:nth-child(4){min-width:180px}
.tma-korsel td:nth-child(5){min-width:92px}
.tma-korsel .tma-date-wrap{display:flex;gap:4px;align-items:center}
.tma-korsel .tma-date-wrap input{min-width:128px}
.tma-korsel .tma-calendar{background:#e8f1f6;border:1px solid #c1ccd5;padding:8px 9px}
.tma-korsel a{color:#14618b;text-decoration:underline}
.tma-korsel .tma-footnote{font-size:12px;line-height:1.5}
.tma-korsel .tma-message{font-size:13px;white-space:pre-line}
.tma-korsel .tma-amount{white-space:nowrap}
.tma-korsel .tma-remove{background:#f0f2f5}
@media(max-width:800px){.tma-korsel .tma-card{padding:14px}.tma-korsel .tma-stats{gap:10px 20px}.tma-korsel .tma-stats strong{font-size:20px}}
/* v1.2: kilometer vises kun som resultat fra ruteopslag, ikke som input. */
.tma-korsel table{min-width:1150px}
.tma-korsel .tma-km-locked{display:flex;flex-direction:column;gap:3px;min-width:96px}
.tma-korsel .tma-km-locked output{font-weight:700;white-space:nowrap}
.tma-korsel .tma-km-state{font-size:11px;color:#667889;line-height:1.3;white-space:nowrap}
.tma-korsel .tma-km-success{color:#216845}
.tma-korsel .tma-km-error{color:#a83c31}
.tma-korsel .tma-calculate{background:#e4eef5;color:#164e70}
.tma-korsel .tma-calculate:disabled{opacity:.5}
