
/* HMS Kontroll v49 – prosjektmodul */
#hms12 .h12-btn.h49-done {background:#168548!important;color:#fff!important;border-color:#168548!important;font-weight:700;box-shadow:0 2px 6px rgba(18,110,60,.12)}
#hms12 .h12-btn.h49-done:hover {background:#116b39!important;border-color:#116b39!important}
#hms12 .h49-projectcomment {margin:0 0 12px;max-width:800px}
#hms12 .h49-optional-comment {padding:8px 10px;margin:7px 0;border:1px solid var(--h12-line,#dce6e2);border-radius:9px;background:rgba(250,252,251,.86);font-size:13px}
#hms12 .h49-optional-comment summary {cursor:pointer;font-weight:600;color:#36665a;list-style-position:inside}
#hms12 .h49-optional-comment label {display:block;margin-top:9px}
#hms12 .h49-optional-comment textarea {width:100%;box-sizing:border-box;min-height:70px;resize:vertical}
#hms12 .h49-completed {color:#147345;font-weight:600;font-size:13px}
#hms12 .h49-logcount {color:#62716f;font-size:12px;margin:4px 0 12px}
#hms12 .h49-scrolllog {max-height:490px;overflow-y:auto;overscroll-behavior:contain;padding-right:8px;scrollbar-gutter:stable}
#hms12 .h49-scrolllog:focus {outline:2px solid #99c6b5;outline-offset:3px}
#hms12 .h49-logentry {display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:15px 0;border-bottom:1px solid #e6eae9;min-width:0}
#hms12 .h49-logentry:last-child {border-bottom:none}
#hms12 .h49-timestamp {font-size:12px;color:#667772;white-space:nowrap}
#hms12 .h49-timestamp small {display:block;color:#87908c;margin-top:3px}
#hms12 .h49-logmain {min-width:0;overflow-wrap:anywhere}
#hms12 .h49-logmain p {margin:7px 0 4px;white-space:pre-wrap}
#hms12 .h49-logtop {display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#hms12 .h49-logtop small {color:#65716d}
#hms12 .h49-scrolllog .h12-photo-grid {margin-top:8px}
#hms12 .h49-people {display:grid;gap:7px;margin:12px 0}
#hms12 .h49-person {border:1px solid #dae5e0;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:12px 14px;color:inherit;cursor:pointer;width:100%}
#hms12 .h49-person:hover,#hms12 .h49-person.active {background:#edf7f3;border-color:#81bba3}
#hms12 .h49-person span:first-child {display:grid;gap:4px}
#hms12 .h49-person span:last-child {color:#5d716a;font-size:12px;display:flex;align-items:center;gap:6px;white-space:nowrap}
#hms12 .h49-person small {font-size:12px;color:#71807a}
#hms12 .h49-person svg {width:16px;height:16px}
#hms12 .h49-my-projectdone {margin:14px 0 0;display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap}
@media (max-width:650px){#hms12 .h49-logentry{grid-template-columns:1fr;gap:3px}#hms12 .h49-timestamp small{display:inline;margin-left:6px}#hms12 .h49-scrolllog{max-height:420px}#hms12 .h49-person{align-items:flex-start;flex-direction:column}}
