
.h47-filter{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.h47-project-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:20px 0}.h47-project-toolbar .h12-field{min-width:min(100%,340px);margin:0}.h47-project-grid .h12-project[hidden], [data-project-end47][hidden]{display:none!important}.h47-fixed-check{display:flex;align-items:flex-start;padding:14px 16px;background:#eaf6f2;border:1px solid #cce9de;border-radius:12px;margin:16px 0}.h47-fixed-check small{display:block;color:#5d7680;font-weight:400}.h47-order-header{display:flex;justify-content:space-between;align-items:start;gap:15px;flex-wrap:wrap}.h47-order-header p{max-width:800px}.h47-order-stats{margin:12px 0 18px;display:flex;gap:8px;flex-wrap:wrap}.h47-order{border:1px solid #d9e5ea;background:#fbfdfe;border-radius:14px;padding:18px;margin:0 0 12px}.h47-order-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.h47-order-title strong{font-size:1.08rem}.h47-order p{margin:10px 0}.h47-unfilled,.h47-fail{color:#ab4b24}.h47-pass{color:#208062}.h47-skills,.h47-people{padding:16px;background:#f5f9fa;border:1px solid #dae7ea;border-radius:12px;margin:16px 0}.h47-skills h3,.h47-people h3{margin:0 0 8px}.h47-reqgrid,.h47-peoplegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;max-height:360px;overflow:auto}.h47-peoplegrid .h47-person{display:flex;align-items:flex-start;padding:10px;border:1px solid #dce7ec;border-radius:9px;background:#fff}.h47-person span{display:flex;flex-direction:column;gap:3px}.h47-person small{font-size:.79rem}.h47-slot-job{display:block;font-weight:700;font-size:.8em;margin:3px 0}.h47-orderform .h12-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.h47-orderform .h12-notice{margin:16px 0}@media(max-width:1100px){.h47-filter{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.h47-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.h47-project-toolbar{display:block}.h47-project-toolbar .h12-btn{margin-top:12px}.h47-reqgrid,.h47-peoplegrid,.h47-orderform .h12-fields{grid-template-columns:1fr}.h47-order-title{flex-wrap:wrap}}

/* V48: Rask tildeling, listevisning og valgfrie felt */
#hms12 .h48-orderform>.h12-field:first-of-type{max-width:100%;margin-bottom:14px}
#hms12 .h48-section,#hms12 .h48-attach,#hms12 .h48-optional{border:1px solid #dce7ec;border-radius:13px;padding:16px;margin:16px 0;background:#fff}
#hms12 .h48-sectiontitle{margin-bottom:12px}#hms12 .h48-section h3,#hms12 .h48-attach h3{margin:0 0 5px}#hms12 .h48-sectiontitle small{color:#577080}
#hms12 .h48-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}
#hms12 .h48-choice{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1px solid #d3e2e9;border-radius:10px;cursor:pointer;background:#f7fafb;min-width:0}
#hms12 .h48-choice:has(input:checked){border-color:#278065;background:#ecf8f1}#hms12 .h48-choice input{margin:3px 0 0;flex:none;accent-color:#278065;cursor:pointer}
#hms12 .h48-choice span{display:flex;flex-direction:column;gap:4px}#hms12 .h48-choice strong{font-size:14px}#hms12 .h48-choice small{font-size:12px;color:#526d7b;line-height:1.45}
#hms12 .h48-toggle{margin-bottom:10px}#hms12 .h48-optional>[data-skills-fields48],#hms12 .h48-optional>[data-equipment-fields48]{padding:5px 2px 12px}
#hms12 .h48-optional .h47-skills{margin:6px 0 12px}#hms12 .h48-peoplelist{display:grid;grid-template-columns:1fr;gap:5px;max-height:310px;overflow-y:auto;overscroll-behavior:contain;margin:12px 0}
#hms12 .h48-peoplelist .h47-person{display:flex;align-items:center;padding:10px 12px;border-radius:8px;min-height:56px}
#hms12 .h48-peoplelist .h47-person:has(input:checked){border-color:#398c6b;background:#eef8f1}#hms12 .h48-peoplelist .h47-person[hidden]{display:none}
#hms12 .h48-staff-head{display:flex;align-items:start;justify-content:space-between;gap:14px;flex-wrap:wrap}#hms12 .h48-staff-head h3{margin:0 0 4px}#hms12 .h48-staff-head small{color:#577080}#hms12 .h48-staff-head>strong{background:#e4f2ea;border-radius:20px;padding:6px 12px;font-size:12px;white-space:nowrap}
#hms12 .h48-staff .h12-actions{gap:6px;margin-top:7px}#hms12 .h48-eqitem{background:#f8fafb;border:1px solid #dce7ec;border-radius:9px;margin:7px 0;padding:12px}
#hms12 .h48-eqitem [data-eqoperator48]{padding:8px 8px 0 26px}#hms12 .h48-eqitem [data-eqoperator48] .h12-field{max-width:430px}
#hms12 .h48-assets{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}#hms12 .h48-asset{border:1px solid #dce8ed;border-radius:8px;padding:8px;background:#f8fafc;display:flex;flex-direction:column;gap:7px;max-width:100%;min-width:140px}
#hms12 .h48-asset img{display:block;width:145px;height:100px;object-fit:cover;border-radius:6px}#hms12 .h48-file{max-width:260px}#hms12 .h48-asset a{overflow-wrap:anywhere}#hms12 .h48-description{white-space:pre-wrap;overflow-wrap:anywhere}
#hms12 .h48-workerorder{padding:14px;border:1px solid #dce7ec;border-radius:10px;margin:9px 0;background:#fff}#hms12 .h48-workerorder>small{color:#617687}
#hms12 .h48-ready{border-left:4px solid #278065}
@media(max-width:700px){#hms12 .h48-mode{grid-template-columns:1fr}#hms12 .h48-section,#hms12 .h48-attach,#hms12 .h48-optional{padding:12px}#hms12 .h48-staff-head{align-items:center}}

