.fm-candidates{border:1px solid #c9d2dd;border-radius:12px;background:#f6f8fa;padding:14px;margin:14px 0;color:#192b40;font-size:13px;line-height:1.55;min-width:0}.fm-candidates-head{display:flex;gap:10px;justify-content:space-between;align-items:flex-start}.fm-candidates h4{font-size:16px;font-weight:700;margin:0}.fm-candidates p{margin:6px 0;overflow-wrap:anywhere}.fm-candidates button,.fm-candidates select{font:inherit;border:1px solid #c2ccd7;background:white;color:#203c5d;border-radius:8px;padding:9px 11px;cursor:pointer;min-height:40px}.fm-candidates button:focus-visible,.fm-candidates select:focus-visible{outline:3px solid #285588;outline-offset:2px}.fm-candidates button:disabled{color:#636b74;background:#edeff1;cursor:default}.fm-candidates-head>button{flex-shrink:0;font-size:12px}.fm-buffer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;font-weight:600}.fm-candidates .fm-candidates-note{font-size:12px;color:#546170;line-height:1.65}.fm-candidates-counts{font-weight:600}.fm-candidate{padding:13px;background:white;border:1px solid #dbe0e5;border-radius:10px;margin:10px 0}.fm-candidate.selected{border:2px solid #214670;padding:12px}.fm-candidate-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.fm-candidate-title strong{font-size:15px;overflow-wrap:anywhere}.fm-candidate-tag{border-radius:5px;font-size:11px;white-space:nowrap;padding:3px 7px;background:#e2e9f2;color:#256549}.fm-candidate.tight .fm-candidate-tag{background:#fff1d9;color:#81560f}.fm-candidate.conflict .fm-candidate-tag{background:#ffebe5;color:#923f2e}.fm-candidate-context{font-size:12px;color:#5a6572;border-top:1px solid #edeff1;padding-top:5px;margin-top:8px}.fm-candidate ul{margin:7px 0;padding-left:17px;color:#923f2e;font-size:12px}.fm-candidate>button{width:100%;margin-top:8px}.fm-candidate.selected>button{background:#20446e;color:white}.fm-candidates-error{color:#9e3924}.fm-candidates-more{width:100%;margin:7px 0}.fm-candidates small{display:block;color:#63707e;font-size:11px;margin-top:8px}@media(max-width:420px){.fm-candidates{padding:11px}.fm-candidate{padding:10px}.fm-candidate.selected{padding:9px}.fm-candidate-title{flex-wrap:wrap}}

.fm-trial-panel{background:#fff;border:1px solid #c9d2dd;border-radius:14px;padding:18px;margin:16px 0;color:#192b40}.fm-trial-panel h2{font-size:18px;font-weight:700;margin:0}.fm-trial-panel p{font-size:13px;line-height:1.65;margin:6px 0}.fm-trial-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.fm-trial-head>button{border:1px solid #bcc7d4;border-radius:8px;padding:10px 14px;white-space:nowrap;background:#eff3f7;color:#203c5d;font-size:13px}.fm-trial-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0}.fm-trial-fields label{font-size:13px;font-weight:600;min-width:0}.fm-trial-fields input,.fm-trial-fields select{display:block;width:100%;min-width:0;font:inherit;font-weight:400;padding:10px 8px;border:1px solid #bcc7d4;border-radius:8px;margin-top:6px;background:white}.fm-trial-notice{border-left:3px solid #c28d29;background:#fff6e5;padding:10px 12px;margin:10px 0;color:#684e1e}.fm-trial-panel .fm-candidates{margin-bottom:0}@media(max-width:600px){.fm-trial-fields{grid-template-columns:1fr 1fr}.fm-trial-panel{padding:14px}.fm-trial-head{align-items:flex-start}.fm-trial-panel h2{font-size:16px}}

.fm-route-toolbar{padding:12px;background:#eef2f7;border-radius:10px;margin:12px 0}.fm-route-toolbar p{font-size:13px;line-height:1.65;margin-top:8px}.fm-route-summary{border-left:3px solid #98a2ad;background:#f5f6f8;padding:10px 12px;margin:10px 0;font-size:13px;line-height:1.7}.fm-route-summary.feasible{border-color:#224874;background:#eef9f4}.fm-route-summary.insufficient{border-color:#ce543e;background:#fff3ef}.fm-route-summary small{display:block;color:#5f6d7c;font-size:11px}

.fm-recommendation-box{background:#eef9f4;border:1px solid #839cb8;border-radius:12px;padding:16px;margin:14px 0;line-height:1.7}.fm-recommendation-box>strong{display:block;font-size:17px;color:#17314e}.fm-recommendation-box p{font-size:13px;margin:8px 0}.fm-recommendation-box>button{width:100%;min-height:44px;background:#1d3d62;color:white;border:0;border-radius:9px;font-weight:700}.fm-recommendation-box small{display:block;margin-top:8px;color:#47586c;font-size:12px}.fm-recommendation-box.expired{background:#fff8ec;border-color:#d3ba87}.fm-candidate-tag.recommended{background:#d7f3e6;color:#17314e}.fm-recommendation-reason{font-size:12px;line-height:1.7;color:#36495e}

.fm-departure-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #1d3d62;border-radius:9px;background:#eef9f4;color:#17314e;font-weight:700;text-decoration:none;margin:8px 0}

.fm-visit-slots{background:#f5f8fb;border:1px solid #b7c5d5;border-radius:14px;padding:18px;color:#18283b;line-height:1.65;margin-bottom:16px;min-width:0}.fm-visit-slots h4{font-size:20px;line-height:1.4;font-weight:750;margin:6px 0 10px}.fm-visit-slots p{font-size:14px;overflow-wrap:anywhere;margin:8px 0}.fm-slot-eyebrow{font-size:12px;color:#1d3d62;font-weight:700}.fm-slot-preferences{display:grid;gap:8px;margin:14px 0}.fm-slot-preferences>div{background:white;border:1px solid #d5dce5;padding:12px;border-radius:10px}.fm-slot-preferences strong,.fm-slot-preferences small{display:block}.fm-slot-preferences strong{font-size:14px}.fm-slot-preferences small{color:#56616d;font-size:12px}.fm-slot-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 8px}.fm-visit-slots label{font-size:13px;font-weight:600}.fm-visit-slots input:not([type=checkbox]),.fm-visit-slots select{width:100%;min-width:0;min-height:44px;background:white;border:1px solid #b5bfcb;border-radius:8px;padding:8px;font-size:16px;display:block;margin-top:6px;color:#192a3d}.fm-visit-slots button,.fm-manual-assignment>button{min-height:44px;border-radius:9px;padding:10px 14px;border:1px solid #8597ab;font-weight:650;font-size:14px;white-space:normal;line-height:1.5}.fm-slot-search{width:100%;background:#1d3d62;color:white;margin:14px 0 4px}.fm-visit-slots button:disabled{opacity:.5;cursor:not-allowed}.fm-slot-note{display:block;color:#53606e;font-size:12px;line-height:1.7;margin:6px 0}.fm-slot-error{color:#a13636!important}.fm-slot-card{background:white;border:1px solid #c9d3de;border-radius:12px;padding:15px;margin:12px 0}.fm-slot-card.selected{border:2px solid #1d3d62}.fm-slot-card>strong{display:block;font-size:18px;margin-top:7px}.fm-slot-card h5{font-size:17px;font-weight:700;margin:5px 0}.fm-slot-card>small{display:block}.fm-slot-card>button{width:100%;margin-top:12px;color:#17314e;background:#edf2f7}.fm-slot-rank{display:inline-block;background:#dce5ef;color:#183352;border-radius:6px;padding:3px 8px;font-size:12px;font-weight:700}.fm-slot-agreement{display:flex;align-items:center;gap:10px;padding:12px;background:#fff6e7;border:1px solid #d8b86e;border-radius:8px}.fm-slot-agreement input{width:20px;height:20px;flex-shrink:0}.fm-slot-chosen{padding:12px;background:#dce5ef;border-radius:8px;font-weight:650}.fm-slot-alternatives{margin:16px 0;border-top:1px solid #c8d2dd;padding-top:12px}.fm-slot-alternatives summary{cursor:pointer;min-height:44px;display:list-item;font-size:14px;font-weight:650}.fm-slot-alternatives label{display:block;margin:12px 0}.fm-slot-alternatives button{width:100%;background:white}.fm-manual-assignment{margin:14px 0}.fm-manual-assignment>button{width:100%;background:#f5f6f7;color:#46545f;border-color:#ccd1d5}.fm-manual-fields{padding-top:12px;display:grid;gap:12px}@media(max-width:380px){.fm-visit-slots{padding:13px}.fm-slot-controls{gap:8px}.fm-slot-card>strong{font-size:16px}}

.fm-slot-result{border:1px solid #839ab5;background:#e6edf4;border-radius:10px;padding:14px;margin:12px 0;scroll-margin:24px}.fm-slot-result strong{display:block;font-size:16px}.fm-slot-result.empty{background:#fff5e8;border-color:#dbb881;color:#714611}.fm-slot-result p{margin:6px 0 0}

.fm-settlement{border:1px solid #c7d0db;background:#f5f7fa;border-radius:12px;padding:16px;color:#192d43}.fm-settlement h3{font-size:17px;font-weight:750}.fm-settlement p{margin:9px 0;line-height:1.65}.fm-settlement-head,.fm-settlement-input{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.fm-settlement-head{justify-content:space-between}.fm-settlement label{display:grid;gap:6px;font-size:13px}.fm-settlement input{background:white;border:1px solid #aab8c8;border-radius:8px;padding:10px;width:160px;min-height:44px;color:#192d43}.fm-settlement button,.fm-settlement a{min-height:44px;padding:10px 12px;border:1px solid #9eadbf;border-radius:8px;display:inline-flex;align-items:center;background:white;font-weight:650;color:#183454}.fm-settlement button:disabled{opacity:.5}.fm-settlement-note{font-size:12px;color:#58636f}.fm-settlement-error{color:#a32b26}.fm-settlement-job{padding:14px 0;border-top:1px solid #d6dde5}.settlement-money{font-variant-numeric:tabular-nums;font-weight:800;font-size:22px;color:#193657}.settlement-summary{border:1px solid #b9c7d8;border-radius:12px;background:#edf2f7;padding:16px;margin:16px 0}.settlement-summary p{margin:5px 0}.settlement-table{display:grid;gap:12px;margin:12px 0}.settlement-card{border:1px solid #d6dde4;border-radius:10px;padding:14px;background:white}.settlement-card p{margin:6px 0;line-height:1.6}.settlement-flag{color:#965422;font-weight:700}#settlementError{color:#a32b26}#settlementEditor{scroll-margin-top:20px}#settlementHistory{white-space:pre-line;line-height:1.8}#settlementList{max-height:650px;overflow:auto}.settlement-day{font-size:10px;font-weight:750;color:#1a3758;overflow-wrap:anywhere}@media(max-width:500px){.fm-settlement-input{align-items:stretch}.fm-settlement-input label,.fm-settlement-input input{width:100%}.settlement-money{font-size:19px}.settlement-day{font-size:9px}.day{padding-left:1px;padding-right:1px}}
