.fn-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:20px 0}.fn-settings label{display:flex;flex-direction:column;gap:6px}.fn-settings button{align-self:end}.fn-table-wrap{overflow-x:auto;margin-top:16px}.fn-table{width:100%;border-collapse:collapse;min-width:750px}.fn-table caption{text-align:left;margin:8px 0;font-weight:600}.fn-table td,.fn-table th{padding:12px;text-align:left;border-bottom:1px solid var(--border,#384350)}.fn-table small{display:block;color:var(--muted)}.fn-loss{color:#ff9d9d}#fn-message:empty{display:none}
.fn-connect-panel{border:1px solid var(--border,#384350);border-radius:12px;padding:20px;margin:20px 0}.fn-connection-actions{display:flex;flex-wrap:wrap;gap:12px}.fn-settings .fn-check{flex-direction:row;align-items:center}.fn-check input{width:auto}.fn-connect-panel input[type=file]{max-width:100%}.fn-connect-panel h4{margin-top:0}


/* Dashboard launch card */
[data-fieldnation-dashboard] {min-width:0;display:grid}
.app-card.fn-dashboard-card {display:flex;flex-direction:column;gap:0;min-height:250px;height:100%;padding:24px;border-radius:12px;background:var(--panel,#0b1320)}
.fn-card-brand {display:flex;align-items:center;gap:13px;min-width:0}
.fn-card-mark {color:#ff4d17;flex-shrink:0;overflow:visible}
.fn-card-brand h4 {font-size:22px;font-weight:750;line-height:1.15;letter-spacing:-.7px;margin:0;color:var(--ink,#f6fbff)}
.fn-card-brand span {display:block;font-size:11px;line-height:1.5;margin-top:5px;color:var(--muted,#a8b8c8)}
.fn-dashboard-card .fn-card-description {font-size:13px;line-height:1.65;color:var(--muted,#a8b8c8);margin:24px 0;max-width:32ch}
.fn-dashboard-card .fn-card-open {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:42px;margin-top:auto;padding:11px 13px;background:rgba(255,77,23,.08);border:1px solid rgba(255,100,50,.38);border-radius:7px;color:var(--ink,#f6fbff);font-size:13px;font-weight:650;text-align:left;cursor:pointer}
.fn-card-open svg {color:#ff764f;flex-shrink:0}
.fn-dashboard-card .fn-card-open:hover {background:rgba(255,77,23,.15);border-color:#ff764f}
.fn-card-open:focus-visible {outline:2px solid #ff764f;outline-offset:4px}
@media(max-width:560px){.app-card.fn-dashboard-card{min-height:235px;padding:22px}}

#fn-browser-image{width:100%;height:auto;border:1px solid var(--border,#384350);cursor:crosshair}#fn-browser-input{display:flex;align-items:end;gap:12px;margin:12px 0}#fn-browser-input label{flex:1}#fn-browser-panel details{margin:16px 0}#fn-browser-panel summary{cursor:pointer;font-weight:600}

.fn-table td:first-child{min-width:280px;max-width:460px}.fn-table td:nth-child(2){min-width:170px}.fn-table td small{line-height:1.5;margin-top:4px}

#fn-connection-dialog{width:min(960px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:auto;box-sizing:border-box;background:var(--panel,#101d2d);color:var(--ink,#e6edf6)}
#fn-connection-dialog .dialog-body{grid-template-columns:minmax(0,1fr);padding:24px;min-width:0}
#fn-connection-dialog .section-head{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:16px;margin:0}
#fn-connection-dialog h3{margin:0;min-width:0;line-height:1.35}
#fn-connection-dialog p{line-height:1.55;overflow-wrap:anywhere}
#fn-connection-dialog .fn-connect-panel{margin:0;min-width:0}
#fn-connection-dialog .fn-settings{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
#fn-connection-dialog input,#fn-connection-dialog select{box-sizing:border-box;min-width:0;max-width:100%}
#fn-connection-dialog button{border:1px solid var(--line,#465269);border-radius:7px;background:var(--panel-2,#162a40);color:var(--ink,#e6edf6);padding:10px 14px;cursor:pointer;white-space:normal;max-width:100%;line-height:1.4}
#fn-connection-dialog button:disabled{opacity:.5;cursor:default}
#fn-connection-close{flex:none}
#fn-connection-message:empty{display:none}
@media(max-width:560px){#fn-connection-dialog .dialog-body{padding:16px}#fn-connection-dialog .fn-connect-panel{padding:14px}#fn-connection-dialog #fn-browser-input{flex-direction:column;align-items:stretch}}

/* Opportunity list */
.fn-jobs-heading{display:flex;align-items:baseline;gap:12px;margin:30px 0 16px}
.fn-jobs-heading h4{font-size:17px;font-weight:650;letter-spacing:-.25px;margin:0;color:var(--ink,#eff5fc)}
.fn-jobs-count{font-size:12px;color:var(--muted,#a8b8c8);font-variant-numeric:tabular-nums}
.fn-jobs-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.fn-jobs-toolbar label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:600;color:var(--muted,#a8b8c8)}
.fn-jobs-search{flex:1 1 260px}.fn-jobs-sort{flex:0 1 190px}
.fn-jobs-toolbar input,.fn-jobs-toolbar select{box-sizing:border-box;min-height:40px;width:100%;margin:0;padding:9px 12px;border:1px solid var(--border,#28384b);border-radius:8px;background:var(--panel,#0b1320);color:var(--ink,#eff5fc);font:inherit;font-size:13px}
.fn-jobs-toolbar #fn-direction{min-height:40px;min-width:124px;margin:0;padding:9px 12px;border:1px solid var(--border,#28384b);border-radius:8px;background:var(--panel,#0b1320);color:var(--ink,#eff5fc);font-size:12px;font-weight:550;white-space:nowrap}
.fn-jobs-toolbar #fn-direction:hover{border-color:#ff764f;background:rgba(255,77,23,.07)}
.fn-table-wrap{margin-top:0;border:1px solid var(--border,#28384b);border-radius:12px;overflow:auto;background:var(--panel,#0b1320);max-height:72vh;scrollbar-color:#34445b transparent}
.fn-table{min-width:1050px;table-layout:fixed;font-size:13px;border-collapse:separate;border-spacing:0}
.fn-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fn-table th:first-child{width:32%}.fn-table th:nth-child(2){width:19%}.fn-table th:nth-child(3){width:10%}.fn-table th:nth-child(4),.fn-table th:nth-child(5),.fn-table th:nth-child(6){width:9%}.fn-table th:last-child{width:12%}
.fn-table th{position:sticky;top:0;z-index:1;padding:0;background:#101e30;border-bottom:1px solid var(--border,#28384b);vertical-align:middle;text-align:right}
.fn-table th:first-child,.fn-table th:nth-child(2){text-align:left}
.fn-table th button{display:flex;justify-content:flex-end;align-items:center;gap:6px;width:100%;min-height:52px;margin:0;padding:12px;border:0;border-radius:0;background:transparent;color:var(--muted,#a8b8c8);font-size:10px;font-weight:650;letter-spacing:.45px;line-height:1.5;text-transform:uppercase;text-align:inherit;cursor:pointer}
.fn-table th:first-child button,.fn-table th:nth-child(2) button{justify-content:flex-start}
.fn-table th button:hover,.fn-table th.fn-sorted button{color:#ffad91;background:rgba(255,77,23,.045)}
.fn-sort-arrow{font-size:13px;opacity:.65;flex-shrink:0}
.fn-table td{padding:16px 12px;border-bottom:1px solid rgba(136,163,193,.13);vertical-align:middle;line-height:1.5}
.fn-table td:first-child,.fn-table td:nth-child(2){min-width:0;max-width:none}
.fn-table tbody tr:last-child td{border-bottom:0}.fn-table tbody tr:hover td,.fn-table tbody tr:focus-within td{background:rgba(124,158,198,.045)}
.fn-table .fn-job-title,.fn-table .fn-job-title:visited{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--ink,#eff5fc);font-weight:600;font-size:13px;text-decoration:none;line-height:1.55}
.fn-table .fn-job-title:hover{color:#ffad91;text-decoration:underline;text-underline-offset:3px}
.fn-job-location{margin-top:5px;color:#c2d1e2;font-size:12px}.fn-job-id{margin-left:9px;color:var(--muted,#91a5bf);font-size:11px;white-space:nowrap}
.fn-job-meta,.fn-job-schedule{font-size:11px;color:var(--muted,#91a5bf);line-height:1.55;margin-top:4px;overflow-wrap:anywhere}
.fn-pay-amount{font-size:14px;font-weight:600;color:var(--ink,#eff5fc);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.fn-pay-type{display:inline-block;margin-top:6px;padding:2px 7px;border:1px solid rgba(136,163,193,.2);border-radius:5px;font-size:10px;color:var(--muted,#a8b8c8);font-weight:500}
.fn-table .fn-extra{font-size:11px;line-height:1.5;margin-top:8px}
.fn-table .fn-number{text-align:right;white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums;color:#dce7f4}
.fn-table .fn-unavailable{color:#71869f}.fn-remaining{display:inline-block;padding:5px 8px;border-radius:6px;font-weight:650}
.fn-positive{color:#8adeba;background:rgba(62,182,130,.09)}.fn-negative{color:#ffabab;background:rgba(242,106,106,.09)}.fn-neutral{color:#dce7f4;background:rgba(136,163,193,.07)}
.fn-table-method{font-size:11px!important;line-height:1.65;color:var(--muted,#91a5bf);margin:12px 0 0;max-width:105ch}
.fn-jobs-toolbar :focus-visible,.fn-table :focus-visible,.fn-table-wrap:focus-visible{outline:2px solid #ff916b;outline-offset:3px}
#fn-empty{padding:24px 12px;text-align:center;color:var(--muted,#91a5bf)}
.fn-scroll-hint{display:none}
@media(max-width:600px){.fn-scroll-hint{display:block;font-size:11px!important;color:var(--muted,#91a5bf);margin:0 0 10px}.fn-jobs-heading{margin-top:24px}.fn-jobs-search{flex-basis:100%}.fn-jobs-sort{flex:1}.fn-jobs-toolbar #fn-direction{min-width:118px}.fn-table-wrap{max-height:68vh}.fn-table td{padding-top:14px;padding-bottom:14px}}
.fn-table .fn-route-button{display:inline-flex;align-items:center;min-height:32px;margin:9px 0 0;padding:5px 10px;border:1px solid #3c5069;border-radius:6px;background:#142238;color:#d9e6f7;font:inherit;font-size:11px;cursor:pointer}
.fn-table .fn-route-button:hover{border-color:#ff916b;color:#ffad91}.fn-table .fn-route-button:disabled{opacity:.45;cursor:default}
#fn-route-dialog{box-sizing:border-box;width:min(920px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;overflow:auto;border:1px solid #34465e;border-radius:16px;background:#0d1929;color:#edf4fe;box-shadow:0 24px 90px #0009}
#fn-route-dialog::backdrop{background:rgba(0,7,17,.78);backdrop-filter:blur(4px)}
.fn-route-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.fn-route-header>div{min-width:0}.fn-route-eyebrow{font-size:10px;letter-spacing:1.5px;color:#ffad91;font-weight:650}
#fn-route-title{font-size:22px;line-height:1.3;margin:7px 0;overflow-wrap:anywhere}#fn-route-job{font-size:12px;color:#9eb1c9;line-height:1.5;margin:0;overflow-wrap:anywhere}
#fn-route-close{flex:none;padding:8px 12px;border:1px solid #3c5069;border-radius:7px;background:#17283d;color:#edf4fe;cursor:pointer}
.fn-route-stops{display:flex;align-items:center;gap:20px;padding:17px;margin-top:22px;border:1px solid #2a3d55;border-radius:10px;background:#111f32}.fn-route-stops div{flex:1;min-width:0}.fn-route-stops span,.fn-route-estimates span{display:block;font-size:10px;letter-spacing:.5px;color:#9eb1c9;margin-bottom:6px}.fn-route-stops strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#fn-route-note,.fn-route-basis{font-size:11px;line-height:1.6;color:#9eb1c9;margin:12px 0}
.fn-route-map{border:1px solid #2a3d55;border-radius:10px;overflow:hidden;background:#111f32}.fn-route-map iframe{display:block;width:100%;height:390px;border:0}.fn-route-map [hidden]{display:none!important}
#fn-route-fallback{text-align:center;min-height:235px;box-sizing:border-box;padding:35px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#1d3450,#101e30)}
#fn-route-fallback>span{font-size:28px;color:#ffad91}#fn-route-fallback h4{font-size:17px;margin:12px 0 8px}#fn-route-fallback p{font-size:12px;color:#b2c3d7;max-width:46ch;line-height:1.7;margin:0}
.fn-route-estimates{display:flex;gap:36px;margin:18px 0 0}.fn-route-estimates strong{font-size:19px;font-variant-numeric:tabular-nums}.fn-route-actions{display:flex;justify-content:flex-end;margin-top:18px}.fn-route-actions a,.fn-route-actions a:visited{display:inline-block;text-decoration:none;color:#fff;background:#a93513;border:1px solid #ff764f;padding:12px 16px;border-radius:8px;font-size:13px;font-weight:600;text-align:center}.fn-route-actions a:hover{background:#c0421e}
#fn-route-dialog :focus-visible{outline:2px solid #ff916b;outline-offset:3px}
@media(max-width:600px){#fn-route-dialog{padding:17px}#fn-route-title{font-size:18px}.fn-route-stops{gap:12px;padding:13px}.fn-route-stops strong{font-size:12px}.fn-route-map iframe{height:330px}.fn-route-actions a{width:100%;box-sizing:border-box}.fn-route-estimates{gap:24px}.fn-route-estimates strong{font-size:17px}}
/* Compact opportunities; all details are opened from a keyboard-accessible card. */
.fn-detail-pay.fn-detail-loss{background:#301f27;border-color:#65404b}.fn-detail-pay.fn-detail-loss strong{color:#ffabab}
.fn-job-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,265px),1fr));gap:14px}
.fn-job-cards .fn-job-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:225px;padding:20px;text-align:left;border:1px solid #2c3e55;border-radius:12px;background:linear-gradient(145deg,#132237,#0d192a);color:#edf4fe;cursor:pointer;box-shadow:0 4px 14px #0002;font-family:inherit;transition:border-color .15s,background .15s}
.fn-job-cards .fn-job-card:hover{border-color:#c96c48;background:linear-gradient(145deg,#1a2b41,#132037)}.fn-job-card:focus-visible{outline:2px solid #ff916b;outline-offset:3px}
.fn-card-place{font-size:11px;color:#9eb1c9;margin-bottom:10px}.fn-card-title{display:block;font-size:14px;font-weight:600;line-height:1.55;margin-bottom:20px;overflow-wrap:anywhere}.fn-card-net{display:block;font-size:25px;font-weight:650;letter-spacing:-.6px;font-variant-numeric:tabular-nums;margin-top:auto}.fn-net-positive{color:#8adeba}.fn-net-negative{color:#ffabab}.fn-net-unknown{color:#dce7f4;font-size:20px}.fn-card-net-label{font-size:10px;color:#9eb1c9;line-height:1.5;margin-top:4px}.fn-card-footer{display:block;width:100%;box-sizing:border-box;border-top:1px solid #2a3c53;margin-top:17px;padding-top:12px;font-size:10px;letter-spacing:.25px;color:#ffad91}
#fn-route-dialog .fn-route-header h3{font-size:21px}#fn-route-dialog .fn-route-header{position:relative}
.fn-detail-pay{display:flex;flex-direction:column;gap:6px;margin:22px 0;padding:18px;background:#122b2a;border:1px solid #2b514a;border-radius:10px}.fn-detail-pay>span{font-size:10px;letter-spacing:1px;color:#a9c8bf}.fn-detail-pay strong{font-size:29px;letter-spacing:-.6px;color:#a8ead0}.fn-detail-pay small{font-size:11px;line-height:1.6;color:#a9c8bf}
.fn-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 22px}.fn-detail-facts dt{font-size:10px;letter-spacing:.3px;color:#9eb1c9;margin-bottom:6px}.fn-detail-facts dd{margin:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.fn-detail-section{padding:18px 0;border-top:1px solid #2a3d55}.fn-detail-section h4,.fn-detail-route-heading{font-size:15px;margin:0 0 12px}.fn-detail-text{white-space:pre-wrap;font-size:13px;line-height:1.8;overflow-wrap:anywhere;max-height:370px;overflow:auto;scrollbar-color:#34445b transparent}#fn-detail-status{font-size:11px;color:#9eb1c9;line-height:1.6;margin:0 0 9px}
.fn-detail-source{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:4px 0 24px}.fn-detail-source a,.fn-detail-source a:visited{font-size:12px;color:#ffad91;text-underline-offset:3px}.fn-detail-source button{font-size:12px;padding:8px 10px;background:#17283d;color:#edf4fe;border:1px solid #3c5069;border-radius:7px;cursor:pointer}.fn-detail-route-heading{border-top:1px solid #2a3d55;padding-top:22px}.fn-detail-route-heading+.fn-route-stops{margin-top:0}
.fn-route-map iframe{height:320px}#fn-route-fallback{min-height:175px;padding:24px}#fn-route-dialog .fn-route-actions [hidden]{display:none}
@media(max-width:600px){.fn-job-cards{grid-template-columns:1fr}.fn-job-cards .fn-job-card{min-height:205px;padding:18px}#fn-route-dialog .fn-route-header h3{font-size:17px}.fn-detail-facts{gap:16px 12px}.fn-detail-pay{padding:14px}.fn-detail-pay strong{font-size:25px}.fn-detail-text{max-height:300px}.fn-route-map iframe{height:280px}}

.fn-detail-text .fn-requirements-list{white-space:normal;margin:0;padding-left:21px;line-height:1.7}.fn-requirements-list li{padding-left:3px;margin:0 0 7px;overflow-wrap:anywhere}.fn-materials-note{font-size:12px;color:#b4c6db;line-height:1.7;margin:0 0 12px;white-space:pre-wrap}.fn-materials-note:empty{display:none}.fn-materials-customer{padding:11px 13px;background:#122b2a;border:1px solid #2b514a;border-radius:7px;color:#a8ead0}
