/* AM4 Charter Calculator – tool-specific styles (shared styles: ../shared_resources/am4tools.css) */
.am4 .hub-row{display:grid;grid-template-columns:1.2fr 1fr auto;gap:.75rem;align-items:end}
@media(max-width:760px){.am4 .hub-row{grid-template-columns:1fr 1fr}.am4 .hub-row .add-wrap{grid-column:1/-1}}
.am4 .add-btn{margin:0;white-space:nowrap}
.am4 .hub-list{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.75rem}
.am4 .hub-list:empty{display:none}
.am4 .hub-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .35rem .3rem .65rem;background:var(--am4-surface2);border:1px solid var(--am4-border);border-radius:999px;font-size:.8rem;color:var(--am4-text)}
.am4 .hub-chip button{border:0;background:none;color:var(--am4-text2);font-size:1rem;line-height:1;padding:0 .3rem;cursor:pointer;border-radius:50%}
.am4 .hub-chip button:hover,.am4 .hub-chip button:focus-visible{color:var(--am4-text);background:var(--am4-border)}
.am4 .fleet-row{display:grid;grid-template-columns:1fr 1.4fr auto;gap:.75rem;align-items:end}
@media(max-width:600px){.am4 .fleet-row{grid-template-columns:1fr}}
.am4 .check{display:flex;align-items:center;gap:.5rem;padding:.5rem .65rem;margin:0;background:var(--am4-surface2);border:1px solid var(--am4-border);border-radius:8px;cursor:pointer;font-size:.85rem;color:var(--am4-text);white-space:nowrap}
.am4 .check input{width:auto;accent-color:var(--am4-accent)}
.am4 .check:focus-within{outline:2px solid var(--am4-accent2);outline-offset:2px}
.am4 .assume{font-size:.75rem;color:var(--am4-text2);margin-top:.6rem}
.am4 .costs{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:.5rem;margin-top:1rem;padding-top:.85rem;border-top:1px solid var(--am4-border)}
.am4 .costs div{font-size:.75rem;color:var(--am4-text2);text-align:center}
.am4 .costs b{display:block;font-size:.85rem;color:var(--am4-text);font-variant-numeric:tabular-nums}
.am4 .plan-card .table-wrap{margin-top:1rem}
.am4 .list-head{margin:1.5rem 0 .75rem}
.am4 .list-head h3{font-size:.95rem;margin-right:auto}
.am4 #lineTable tr.rt{cursor:pointer}
.am4 #lineTable tr.rt:hover td{background:var(--am4-surface2)}
.am4 #lineTable tr.rt:focus-visible{outline:2px solid var(--am4-accent2);outline-offset:-2px}
.am4 .am4-table tr.detail>td{background:var(--am4-surface2);white-space:normal;text-align:left;padding:.75rem 1rem}
.am4 .am4-table.alt{width:auto;margin-top:.5rem;font-size:.75rem}
.am4 .am4-table.alt td,.am4 .am4-table.alt th{padding:.3rem .5rem;background:none}
.am4 .more{margin-top:.75rem;background:var(--am4-surface2);color:var(--am4-text);border:1px solid var(--am4-border)}
.am4 .more:hover{color:var(--am4-text)}
.am4 .plan-head{font-size:1.05rem;margin:1.5rem 0 .5rem}
.am4 .plan-head+.hint{margin-top:-.25rem}
.am4 .hub-plan h2{font-size:1rem}
.am4 .plan-card .am4-table th:nth-child(2),.am4 .plan-card .am4-table td:nth-child(2),.am4 #lineTable th:nth-child(2),.am4 #lineTable td:nth-child(2){text-align:left}
