.ft-hero { padding-block:clamp(2.25rem,5vw,4.75rem); background:#0c2f39; color:#fff; }
.ft-hero .ft-head { max-width:56rem; }
.ft-hero h1 { color:#fff; margin:.35rem 0 1rem; }
.ft-hero p { color:#e1eff1; font-size:clamp(1.05rem,2vw,1.22rem); line-height:1.7; max-width:43rem; }
.ft-hero .ft-back { color:#ffd76f; text-decoration:underline; min-height:44px; display:inline-flex; align-items:center; }
.ft-hero .btn:not(.primary) { background:#fff; color:#0c2f39; }
.ft-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.85rem,2vw,1.5rem); }
.ft-card, .ft-panel, .ft-row {
 background:#fff; border:1px solid #c7d9dc; border-radius:1rem; color:#0c2f39; padding:clamp(1rem,2.5vw,1.8rem); min-width:0;
}
.ft-card { display:flex; flex-direction:column; align-items:flex-start; }
.ft-card h3,.ft-card p { margin:0 0 1rem; }
.ft-card .btn { margin-top:auto; }
[data-freight-tool] [hidden], [data-freight-tool][hidden] { display:none!important; }
[data-freight-tool] { max-width:76rem; margin-inline:auto; }
[data-freight-tool] h2 { margin-top:0; }
[data-freight-tool] :focus-visible { outline:3px solid #1e758d; outline-offset:3px; }
.ft-summary dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.8rem; margin:0 0 1rem; }
.ft-summary dl>div { border:1px solid #c7d9dc; background:#fff; padding:1rem; border-radius:.7rem; }
.ft-summary dl>div:first-child { border-left:4px solid #ffbb09; }
.ft-summary dt { font-size:.93rem; color:#344f56; }
.ft-summary dd { font-size:1.6rem; font-weight:750; margin:0; color:#0c2f39; }
.ft-help,.ft-feedback { color:#344f56; font-size:.96rem; line-height:1.55; }
.ft-feedback { min-height:1.3em; }
.ft-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-block:1rem; }
.ft-fields label,.ft-toolbar label { display:flex; flex-direction:column; font-size:.95rem; font-weight:600; min-width:0; color:#0c2f39; gap:.35rem; }
.ft-fields input, .ft-fields select, .ft-toolbar select {
 border:1px solid #70898e; min-height:46px; padding:.5rem .6rem; margin-top:auto; border-radius:.42rem;
 color:#0c2f39; background:#fff; width:100%; min-width:0; font:inherit; font-weight:400;
}
.ft-board,.ft-invoice-result { margin-top:1.5rem; }
.ft-toolbar,.ft-row-header { display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:.75rem; }
.ft-toolbar h2,.ft-row h3 { margin:0; }
.ft-toolbar h2 { flex:1 1 15rem; }
.ft-row { margin-bottom:1rem; }
.ft-row-header h3,.ft-row-header p { overflow-wrap:anywhere; }
.ft-row-header p { margin:.25rem 0 0; }
.ft-row-buttons { display:flex; flex-wrap:wrap; gap:.45rem; }
.ft-inline-action { border:0; background:transparent; color:#155263; font:inherit; text-decoration:underline; min-height:44px; padding:.35rem; cursor:pointer; }
.ft-deadlines { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.65rem; margin-top:1rem; }
.ft-deadlines label { display:flex; align-items:start; gap:.5rem; min-height:44px; padding:.55rem; background:#edf5f5; border-radius:.5rem; color:#0c2f39; }
.ft-deadlines input { accent-color:#155263; width:1.15rem; height:1.15rem; margin:.1rem 0 0; }
.ft-deadlines span { display:block; }
.ft-deadlines small { display:block; color:#344f56; font-size:.86rem; }
.ft-deadlines [data-due="urgent"] { color:#7d3611; font-weight:750; }
.ft-invoice-line { border:1px solid #c7d9dc; border-radius:.7rem; padding:.8rem 1rem; margin:1rem 0; min-width:0; }
.ft-invoice-line legend { color:#0c2f39; font-weight:750; padding-inline:.35rem; }
.ft-invoice-line .ft-fields { margin:.25rem 0 .65rem; }
.ft-invoice-result { scroll-margin-top:clamp(5rem,10vw,9rem); }
.ft-invoice-result article { border-top:1px solid #c7d9dc; padding-top:.85rem; margin:.85rem 0; }
.ft-invoice-result h3,.ft-invoice-result p { margin:0 0 .5rem; }
.ft-totals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.65rem; margin:.6rem 0; overflow-wrap:anywhere; }
.ft-totals div { padding:.65rem; background:#edf5f5; border-radius:.45rem; }
.ft-totals dd { margin:0; font-weight:750; }
.ft-totals dt { font-size:.9rem; color:#344f56; }
@media(max-width:820px) {
 .ft-card-grid,.ft-fields,.ft-deadlines { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:550px) {
 .ft-card-grid,.ft-fields,.ft-deadlines { grid-template-columns:minmax(0,1fr); }
 .ft-summary dl{ grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ft-totals{grid-template-columns:minmax(0,1fr);}
}

.ft-desk-section { background:#edf4f5; padding-block:clamp(1.5rem,4vw,3rem); scroll-margin-top:6rem; }
.ft-desk-section [hidden] { display:none!important; }
.ft-desk { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.8fr); align-items:start; gap:clamp(1rem,2.5vw,1.6rem); }
.ft-desk h2 { font-size:clamp(1.3rem,2vw,1.7rem); text-wrap:balance; margin:0 0 .7rem; }
.ft-desk-source { border-top:4px solid #155263; }
.ft-desk-source .ft-fields { display:flex; flex-direction:column; gap:.3rem; }
.ft-desk .ft-fields { margin-block:.75rem; }
.ft-desk .ft-desk-status { grid-template-columns:minmax(0,1fr); }
.ft-desk .ft-desk-dates { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.ft-source-links { list-style:none; padding:0; margin:1rem 0 .5rem; border-top:1px solid #c7d9dc; }
.ft-source-links li { border-bottom:1px solid #c7d9dc; }
.ft-source-links a { display:flex; align-items:center; min-height:44px; padding:.5rem 0; color:#155263; font-weight:650; text-underline-offset:.16em; }
.ft-source-note { color:#344f56; font-size:.9rem; line-height:1.45; }
.ft-desk-choices { display:flex; flex-wrap:wrap; gap:.45rem; padding:0; border:0; margin:.75rem 0; }
.ft-desk-choices legend { margin-bottom:.35rem; }
.ft-desk-choices label { display:inline-flex; gap:.45rem; align-items:center; min-height:44px; cursor:pointer; border:1px solid #70898e; padding:.4rem .75rem; border-radius:.6rem; }
.ft-desk-choices label:has(:checked) { background:#edf5f5; border-color:#155263; font-weight:650; }
.ft-desk-choices input { accent-color:#155263; margin:0; }
.ft-desk-cost { border-block:1px solid #c7d9dc; margin:.85rem 0; }
.ft-desk-cost summary { color:#155263; cursor:pointer; padding:.65rem 0; min-height:44px; font-weight:650; }
.ft-desk-result { margin-top:1rem; border-left:4px solid #ffbb09; scroll-margin-top:6rem; }
.ft-desk-kicker { color:#155263; font-weight:750; margin:0 0 .35rem; }
.ft-desk-result ol { padding-left:1.35rem; }
.ft-desk-result li { padding-left:.2rem; margin-bottom:.55rem; }
.ft-desk-cost-result { background:#edf5f5; padding:.7rem 1rem; border-radius:.5rem; font-weight:700; }
.ft-desk-copy-text { display:grid; gap:.35rem; }
.ft-desk-copy-text textarea { width:100%; font:inherit; border:1px solid #70898e; border-radius:.45rem; padding:.6rem; }
.ft-desk :focus-visible { outline:3px solid #1e758d; outline-offset:3px; }
@media(max-width:760px) { .ft-desk { grid-template-columns:minmax(0,1fr); } }
@media(max-width:420px) { .ft-desk .ft-desk-dates { grid-template-columns:minmax(0,1fr); } }

.ft-workbench-section { padding-block:clamp(1.75rem,4vw,3.5rem); scroll-margin-top:6rem; }
.ft-workbench-section [hidden] { display:none!important; }
.ft-workbench { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); gap:clamp(1rem,2.5vw,1.6rem); align-items:start; }
.ft-workbench h2,.ft-workbench h3 { margin:0 0 .7rem; }
.ft-workbench [data-vessel-selector] { display:flex; flex-direction:column; gap:.3rem; }
.ft-carrier-list { list-style:none; margin:1rem 0 0; padding:0; border-top:1px solid #c7d9dc; }
.ft-carrier-list li,.ft-workbench-aside dl>div { border-bottom:1px solid #c7d9dc; padding:.55rem 0; }
.ft-carrier-list li>div { display:flex; gap:.35rem 1.4rem; flex-wrap:wrap; }
.ft-carrier-list a,.ft-workbench a { color:#155263; font-weight:650; text-underline-offset:.16em; }
.ft-workbench a { min-height:44px; display:inline-flex; align-items:center; }
.ft-workbench-aside dt { font-weight:700; }
.ft-workbench-aside dd { margin:0; color:#344f56; }
.ft-workbench .ft-desk-copy-text { margin-block:.7rem; font-size:.95rem; font-weight:600; }
.ft-workbench .ft-desk-copy-text input { border:1px solid #70898e; border-radius:.45rem; padding:.6rem; width:100%; font:inherit; min-height:46px; }
.ft-workbench .ft-desk-copy-text textarea { font-weight:400; }
.ft-update-output { margin-top:1rem; scroll-margin-top:6rem; background:#edf5f5; }
@media(max-width:760px) { .ft-workbench { grid-template-columns:minmax(0,1fr); } }

.ft-voyage-section { background:#edf4f5; padding-block:clamp(1.5rem,4vw,3rem); scroll-margin-top:6rem; }
.ft-voyage-section [hidden] { display:none!important; }
.ft-voyage-panel h2,.ft-voyage-panel h3 { margin:0 0 .5rem; }
.ft-voyage-panel a,.ft-workbench a { text-underline-offset:.15em; }
.ft-voyage-panel :focus-visible { outline:3px solid #1e758d; outline-offset:3px; }
.ft-voyage-search { grid-template-columns:repeat(2,minmax(0,1fr)); }
.ft-feed-row { border-top:1px solid #c7d9dc; padding:.9rem 0; overflow-wrap:anywhere; }
.ft-feed-row h3 { font-size:1.05rem; margin:0 0 .35rem; }
.ft-feed-row p { margin:.15rem 0 .55rem; }
.ft-voyage-panel [data-followed-block] { margin:1rem 0; }
.ft-voyage-alert { border-left:4px solid #ffbb09; padding:.8rem 1rem; margin:.6rem 0 1rem; background:#fff5d4; }
.ft-voyage-alert ul { margin:.3rem 0 .65rem; padding-inline-start:1.3rem; }
.ft-plan-result { margin-top:1rem; border-left:4px solid #ffbb09; scroll-margin-top:6rem; }
.ft-plan-result ol { padding-inline-start:1.3rem; }
.ft-plan-result li { margin-bottom:.55rem; }
.ft-voyage-times input,[data-receiving-shift] input { scroll-margin-top:6rem; }
@media(max-width:550px) { .ft-voyage-search,.ft-voyage-times { grid-template-columns:minmax(0,1fr); } }

.ct-panel { max-width:70rem; margin-inline:auto; }
.ct-panel [hidden] { display:none!important; }
.ct-panel h2,.ct-panel h3 { margin:0 0 .65rem; }
.ct-panel form { margin-block:1rem; }
.ct-featured-grid .ft-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.ct-panel :focus-visible { outline:3px solid #1e758d; outline-offset:3px; }
.ct-result { margin:1.25rem 0; scroll-margin-top:6rem; border-left:4px solid #ffbb09; }
.ct-table table { width:100%; border-collapse:collapse; table-layout:fixed; }
.ct-table caption { text-align:left; padding-block:.5rem; color:#344f56; }
.ct-table td,.ct-table th { padding:.45rem .5rem; text-align:left; border-bottom:1px solid #c7d9dc; overflow-wrap:anywhere; }
.ct-table th:first-child { width:42%; }
.ct-table input,.ct-stacked input:not([type=file]),.ct-stacked select,.ct-stacked textarea { width:100%; font:inherit; border:1px solid #70898e; border-radius:.45rem; min-height:44px; padding:.4rem .55rem; color:#0c2f39; }
.ct-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin-bottom:.8rem; }
.ct-pair article { border-radius:.6rem; background:#edf5f5; padding:.8rem; overflow-wrap:anywhere; }
.ct-pair article p { margin-bottom:0; }
.ct-event { min-width:0; border:1px solid #c7d9dc; border-radius:.6rem; padding:.6rem .85rem; margin-block:.75rem; }
.ct-event legend { padding-inline:.35rem; font-weight:650; color:#155263; }
.ct-stacked { display:grid; gap:.35rem; margin-block:.75rem; font-size:.95rem; font-weight:600; }
.ct-stacked input[type=file] { max-width:100%; }
.ct-stacked small { font-weight:400; }
.ct-check { min-height:44px; justify-content:center; }
.ct-check input { width:1.15rem; min-height:1.15rem; accent-color:#155263; }
.ct-milestones { padding-inline-start:1.4rem; }
.ct-milestones li { border-top:1px solid #c7d9dc; padding:.75rem .1rem; }
.ct-milestones li p { margin:.25rem 0; }
.ct-panel [data-status-customer] { scroll-margin-top:6rem; }
@media(max-width:550px) { .ct-featured-grid .ft-card-grid,.ct-pair { grid-template-columns:minmax(0,1fr); } .ct-table td,.ct-table th { padding-inline:.2rem; } .ct-table input { padding-inline:.25rem; } }

.fr-panel section,.fr-panel .ct-result { scroll-margin-top:6rem; }
.fr-panel [data-calc-values] p { margin:.45rem 0; }
.fr-source { border:1px solid #c7d9dc; border-radius:.75rem; padding:1rem; background:#edf5f5; }
.fr-source-list { list-style:none; padding:0; margin:.25rem 0 0; }
.fr-source-list li { border-top:1px solid #c7d9dc; padding:.55rem 0; }
.fr-source-list li p { margin:.2rem 0 .3rem; }
.fr-panel .g-actions a:not(.btn),.fr-source-list a { min-height:44px; display:inline-flex; align-items:center; color:#155263; font-weight:650; }
.fr-copy { width:100%; min-height:8rem; padding:.65rem; margin-top:.6rem; font:inherit; }
