.page-file-strip{position:fixed;right:20px;bottom:46px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:min(900px,calc(100vw - 260px));z-index:1200}
.page-file-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #dbe5ea;border-radius:999px;background:rgba(247,251,252,.96);backdrop-filter:blur(6px);color:#0d6677;font-size:12px;font-weight:700;text-decoration:none;box-shadow:0 10px 24px rgba(10,39,48,.10)}
.page-file-pill:hover{background:#eef8fa;border-color:#bcd3da}
.page-file-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#69818a}
.falt-layout{display:grid !important;grid-template-columns:minmax(0,1fr) 320px !important;gap:20px;align-items:start !important;width:100%}
.falt-left{display:flex;flex-direction:column;justify-content:flex-start;gap:20px;min-width:0;width:100%;align-self:start !important}
.falt-sidebar{min-width:0;width:100%;align-self:start !important}
.falt-map{height:560px;width:100% !important;min-width:0;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden;box-sizing:border-box;margin:0 !important}
.falt-map > div{width:100% !important;height:100% !important}
.falt-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:16px}
.falt-stat{background:#fff;border-radius:10px;border:1px solid #e5e7eb;padding:12px 14px;text-align:center}
.falt-stat h4{font-size:10px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}
.falt-stat .fval{font-size:22px;font-weight:700;color:#1a1a1a}
.falt-stat .fsub{font-size:11px;color:#94a3b8;margin-top:2px}
.falt-sidebar{background:#fff;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden}
.falt-sidebar-header{padding:11px 14px;border-bottom:1px solid #f1f5f9;font-size:15px;font-weight:600;color:#1a1a1a}
.falt-list{max-height:450px;overflow-y:auto}
.falt-list::-webkit-scrollbar{width:4px}
.falt-list::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:4px}
.falt-item{display:flex;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid #f8f9fa;cursor:pointer;transition:background .15s}
.falt-item:hover{background:#fafbfc}
.falt-item-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.falt-item-info{flex:1;min-width:0}
.falt-item-addr{font-size:13px;font-weight:500;color:#1a1a1a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.falt-item-detail{font-size:11px;color:#94a3b8}
.falt-item-status{font-size:11px;font-weight:600;padding:3px 8px;border-radius:10px;flex-shrink:0}
.falt-popup-btns{display:flex;gap:4px;margin-top:8px;flex-wrap:wrap}
.falt-popup-btn{padding:4px 10px;border:none;border-radius:6px;font-size:11px;font-weight:600;cursor:pointer;font-family:'Inter',sans-serif;transition:all .15s}
.falt-popup-btn:hover{opacity:.85}
.falt-kalkyler{overflow-x:auto}
.falt-kalkyler-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.falt-kalkyler-header h3{font-size:16px;font-weight:700;color:#1a1a1a}
.falt-kalkyler-header .fk-count{font-size:13px;color:#94a3b8;font-weight:400}
.falt-kalkyler table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e5e7eb}
.falt-kalkyler thead th{background:#f8f9fa;font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;padding:8px 10px;text-align:left;border-bottom:1px solid #e5e7eb;white-space:nowrap}
.falt-kalkyler tbody td{padding:8px 10px;font-size:12px;color:#1a1a1a;border-bottom:1px solid #f1f5f9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.falt-kalkyler tbody td.addr-cell{max-width:180px}
.falt-kalkyler tbody tr:hover{background:#fafbfc}
.fk-badge{font-size:11px;font-weight:600;padding:3px 10px;border-radius:10px;display:inline-block}
.fk-badge.ny{background:#e0f2fe;color:#0284c7}
.fk-badge.skickad{background:#fef3c7;color:#b45309}
.fk-badge.godkand{background:#dcfce7;color:#15803d}
.fk-badge.forlorad{background:#fee2e2;color:#dc2626}
.fk-action{padding:4px 12px;border:1px solid #e5e7eb;border-radius:6px;font-size:11px;font-weight:500;cursor:pointer;background:#fff;font-family:'Inter',sans-serif;transition:all .15s;color:#1a1a1a}
.fk-action:hover{background:#f1f5f9;border-color:#cbd5e1}

#page-faltsalj > div:nth-of-type(4){display:flex;gap:12px;margin-bottom:16px;align-items:center;flex-wrap:wrap}
#page-faltsalj #faltSearchWrap{min-width:260px}
.checkin-modal-card{position:relative}
.modal-file-strip{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:-4px 0 16px;max-width:100%;z-index:2}
.modal-file-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #dbe5ea;border-radius:999px;background:rgba(247,251,252,.98);color:#0d6677;font-size:11px;font-weight:700;text-decoration:none;box-shadow:0 8px 18px rgba(10,39,48,.08)}
.modal-file-pill:hover{background:#eef8fa;border-color:#bcd3da}
.modal-file-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;color:#69818a}

@media (max-width:1366px){
  .page-file-strip{right:16px;bottom:54px;max-width:min(720px,calc(100vw - 120px))}
  .falt-layout{grid-template-columns:minmax(0,1fr) 320px;gap:16px}
  .falt-map{height:460px}
  .falt-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
}

@media (max-width:1180px){
  #page-faltsalj > div:nth-of-type(4) .dummy-btn{flex:1 1 220px;justify-content:center}
  .falt-layout{grid-template-columns:1fr;gap:16px}
  .falt-sidebar{order:2}
  .falt-left{order:1}
  .falt-map{height:52vh;min-height:360px}
  .falt-list{max-height:340px}
  .falt-kalkyler table{min-width:680px}
}

@media (max-width:1024px){
  .falt-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .falt-stat{padding:10px 8px}
  .falt-stat .fval{font-size:20px}
  .page-file-strip{left:110px;right:16px;bottom:18px;max-width:none;justify-content:flex-start}
}

@media (max-width:820px){
  #page-faltsalj > div:nth-of-type(4){gap:10px}
  #page-faltsalj #faltSearchWrap{min-width:100%}
  #page-faltsalj > div:nth-of-type(4) .dummy-btn{flex:1 1 calc(50% - 5px);padding:11px 12px}
  .falt-map{height:48vh;min-height:320px}
  .checkin-modal-card{width:min(560px,94vw)!important;padding:22px!important}
}

@media(max-width:768px){
  .falt-layout{grid-template-columns:1fr !important;gap:12px}
  .falt-map{height:50vh !important;border-radius:10px}
  .falt-stats{grid-template-columns:repeat(3,1fr) !important;gap:6px}
  .falt-stat{padding:8px 6px}
  .falt-stat .fval{font-size:18px}
  .falt-stat h4{font-size:9px}
  .falt-sidebar{border-radius:10px}
  .falt-list{max-height:300px !important}
  .falt-kalkyler{overflow-x:auto}
  .falt-left{gap:12px}
  .falt-kalkyler table{min-width:500px;font-size:11px}
  .page-file-strip{position:fixed;left:12px;right:12px;bottom:70px;max-width:none}
  .page-file-pill{width:auto;max-width:100%;justify-content:center}
}

@media (max-width:640px){
  #page-faltsalj > div:nth-of-type(4) .dummy-btn{flex:1 1 100%}
  .falt-stats{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .falt-kalkyler-header{flex-direction:column;align-items:flex-start;gap:6px}
  .falt-sidebar-header[style*="justify-content:space-between"]{flex-direction:column;align-items:flex-start!important;gap:10px}
  .falt-sidebar-header[style*="justify-content:space-between"] > div{width:100%;flex-wrap:wrap}
  .checkin-modal-card{width:min(96vw,420px)!important;padding:18px!important;border-radius:14px!important}
  .modal-file-strip{justify-content:flex-start;margin:0 0 14px;max-width:none}
  .modal-file-pill{justify-content:center}
}
