




.hh-profile{background:var(--hh-soft);font-family:var(--hh-font);color:var(--hh-ink);font-size:15px}
.hh-profile button,.hh-profile input,.hh-profile select,.hh-profile textarea{font-family:inherit}


.hh-profile .profile-wrap{max-width:760px;padding:28px 20px 8px}
@media (max-width:480px){ .hh-profile .profile-wrap{padding:16px 12px 4px} }


.hh-profile .card{background:#fff;border:1px solid var(--hh-line);border-radius:var(--hh-r);box-shadow:var(--hh-shadow);padding:22px;margin-bottom:16px}
@media (max-width:480px){ .hh-profile .card{padding:18px 14px} }
.hh-profile .card-hallitus{border:1px solid var(--hh-accent-line);box-shadow:var(--hh-shadow),inset 0 3px 0 var(--hh-accent)}
.hh-profile .two-col{gap:16px;margin-bottom:16px}


.hh-profile .lbl{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--hh-accent);margin:0 0 12px}
.hh-profile .card>div>p.lbl,.hh-profile .card p.lbl[style*="margin:0"]{margin:0}


.hh-profile .profile-name{font-size:21px;font-weight:800;color:var(--hh-navy);letter-spacing:-.01em}
.hh-profile .profile-meta{font-size:14px;color:var(--hh-muted)}
.hh-profile .profile-meta a{color:var(--hh-accent);font-weight:700}
.hh-profile .profile-avatar,.hh-profile .profile-avatar-fb{width:60px;height:60px}
.hh-profile .profile-avatar-fb{background:var(--hh-accent-soft);color:var(--hh-accent);font-weight:800;font-size:19px}
.hh-profile .hh-avatar-cam{position:absolute;inset:0;border-radius:50%;background:rgba(5,28,44,.55);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .15s;color:#fff}
.hh-profile .hh-avatar-cam .hh-ico{width:22px;height:22px}
.hh-profile .hh-updated{font-size:12px;color:var(--hh-muted);white-space:nowrap}


.hh-profile .tag{font-size:13px;padding:5px 12px;border-radius:999px;font-weight:700}
.hh-profile .tag-purple{background:var(--hh-accent-soft);color:#1d3f9e;border:1px solid var(--hh-accent-line)}
.hh-profile .tag-blue{background:#eef3ff;color:#1d3f9e;border:1px solid var(--hh-accent-line)}
.hh-profile .tag-gray{background:var(--hh-soft);color:var(--hh-text);border:1px solid var(--hh-line)}
.hh-profile .badge-hallitus{font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;background:var(--hh-accent-soft);color:#1d3f9e;border:1px solid var(--hh-accent-line)}
.hh-profile .badge-interim{font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;background:var(--hh-ok-soft);color:var(--hh-ok-ink);border:1px solid var(--hh-ok-line)}
.hh-profile .hh-mini{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:700;padding:3px 10px;border-radius:999px;border:1px solid var(--hh-line);background:var(--hh-soft);color:var(--hh-text);line-height:1.4}
.hh-profile .hh-mini .hh-ico{width:14px;height:14px}
.hh-profile .hh-mini--ok{background:var(--hh-ok-soft);border-color:var(--hh-ok-line);color:var(--hh-ok-ink)}
.hh-profile .hh-mini--accent{background:var(--hh-accent-soft);border-color:var(--hh-accent-line);color:#1d3f9e}
.hh-profile .hh-mini--err{background:var(--hh-err-soft);border-color:var(--hh-err-line);color:var(--hh-err-ink)}


.hh-profile .ri{font-size:14px;padding:8px 0;border-bottom:1px solid var(--hh-line)}
.hh-profile .ri span:first-child{color:var(--hh-muted)}
.hh-profile .ri span:last-child{font-weight:700;color:var(--hh-ink)}


.hh-profile .edit-btn,.hh-profile .bsm{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;font-size:13.5px;font-weight:700;padding:6px 14px;border:1.5px solid var(--hh-line-2);border-radius:var(--hh-r-xs);background:#fff;color:var(--hh-navy);cursor:pointer;transition:border-color .15s,background .15s,color .15s;text-decoration:none;white-space:nowrap}
.hh-profile .edit-btn:hover,.hh-profile .bsm:hover{border-color:var(--hh-accent);background:var(--hh-accent-soft);color:var(--hh-accent)}
.hh-profile .btn-primary{width:100%;min-height:48px;padding:12px 18px;background:var(--hh-accent);border:0;border-radius:var(--hh-r-sm);color:#fff;font-size:15px;font-weight:800;box-shadow:0 8px 22px rgba(42,91,212,.25);transition:background .15s,transform .15s}
.hh-profile .btn-primary:hover:not(:disabled){background:var(--hh-accent-hover);transform:translateY(-1px)}
.hh-profile .btn-primary:disabled{background:#8ea6e3;box-shadow:none;cursor:default;transform:none}
.hh-profile .btn-secondary{width:100%;min-height:46px;padding:11px 18px;background:#fff;color:var(--hh-navy);border:1.5px solid var(--hh-line-2);border-radius:var(--hh-r-sm);font-size:15px;font-weight:700}
.hh-profile .btn-secondary:hover{border-color:var(--hh-accent);color:var(--hh-accent);background:var(--hh-accent-soft)}
.hh-profile .tag-add-btn{background:var(--hh-navy);border-radius:var(--hh-r-xs);font-weight:700;min-height:40px}
.hh-profile .tag-add-btn:hover{background:var(--hh-navy-2)}


.hh-profile .inp,.hh-profile .d-inp,.hh-profile .d-select,.hh-profile .d-textarea,.hh-profile .tag-add-inp,
.hh-profile .kt-ans-input,.hh-profile .kt-ans-textarea,.hh-profile .kt-rating-note,.hh-profile .hkirje-textarea{border:1.5px solid var(--hh-line-2);border-radius:var(--hh-r-sm);font-size:15px;color:var(--hh-ink);background:#fff;transition:border-color .15s,box-shadow .15s}
.hh-profile .inp,.hh-profile .d-inp,.hh-profile .d-select{padding:11px 14px;min-height:46px}
.hh-profile .inp:focus,.hh-profile .d-inp:focus,.hh-profile .d-select:focus,.hh-profile .d-textarea:focus,.hh-profile .tag-add-inp:focus,
.hh-profile .kt-ans-input:focus,.hh-profile .kt-ans-textarea:focus,.hh-profile .kt-rating-note:focus,.hh-profile .hkirje-textarea:focus,.hh-profile .pin-input:focus{outline:none;border-color:var(--hh-accent);box-shadow:var(--hh-ring)}
.hh-profile .pin-input{border:1.5px solid var(--hh-line-2);border-radius:var(--hh-r-sm);font-family:var(--hh-font);font-weight:800;color:var(--hh-navy)}
.hh-profile .d-label{font-size:13.5px;font-weight:700;color:var(--hh-ink)}
.hh-profile .tag-editor{border:1.5px solid var(--hh-line-2);border-radius:var(--hh-r-sm);background:var(--hh-soft)}
.hh-profile .tag-editor-item{background:var(--hh-accent-soft);color:#1d3f9e;border:1px solid var(--hh-accent-line);font-weight:700}
.hh-profile .tag-editor-item.green{background:var(--hh-ok-soft);color:var(--hh-ok-ink);border-color:var(--hh-ok-line)}
.hh-profile .star-btn.lit{color:var(--hh-accent)}


.hh-profile .alert-red{background:var(--hh-err-soft);border:1px solid var(--hh-err-line);color:var(--hh-err-ink);border-radius:var(--hh-r-sm);font-size:14px}
.hh-profile .alert-green{background:var(--hh-ok-soft);border:1px solid var(--hh-ok-line);color:var(--hh-ok-ink);border-radius:var(--hh-r-sm);font-size:14px}
.hh-profile .alert-yellow{background:var(--hh-warn-soft);border:1px solid var(--hh-warn-line);color:var(--hh-warn-ink);border-radius:var(--hh-r-sm);font-size:14px}


.hh-profile .hh-note{display:flex;gap:14px;align-items:flex-start;border-radius:14px;padding:16px 18px;margin-bottom:14px;border:1px solid}
.hh-profile .hh-note-ico{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none;color:#fff}
.hh-profile .hh-note-ico .hh-ico{width:22px;height:22px}
.hh-profile .hh-note h3,.hh-profile .hh-note .hh-note-t{font-size:15.5px;font-weight:800;margin:0 0 4px;line-height:1.35}
.hh-profile .hh-note p{font-size:14px;line-height:1.55;margin:0 0 10px}
.hh-profile .hh-note--task{background:var(--hh-warn-soft);border-color:var(--hh-warn-line);color:var(--hh-warn-ink)}
.hh-profile .hh-note--task .hh-note-ico{background:var(--hh-warn)}
.hh-profile .hh-note--err{background:var(--hh-err-soft);border-color:var(--hh-err-line);color:var(--hh-err-ink)}
.hh-profile .hh-note--err .hh-note-ico{background:var(--hh-err)}
.hh-profile .hh-chip{display:inline-flex;align-items:center;gap:4px;min-height:34px;font-size:13px;font-weight:700;padding:5px 12px;border-radius:999px;background:#fff;border:1px solid var(--hh-err-line);color:var(--hh-err-ink);cursor:pointer;transition:background .15s}
.hh-profile .hh-chip:hover{background:#fff0ee}
.hh-profile .hh-chip .hh-ico{width:14px;height:14px}


.hh-profile .hh-panel{background:var(--hh-soft);border:1px solid var(--hh-line);border-radius:14px;padding:16px;margin-bottom:16px}
.hh-profile .hh-panel-txt{font-size:14px;color:var(--hh-muted);margin:0 0 12px;line-height:1.5}
.hh-profile .sw-wrap{background:#fff;border:1px solid var(--hh-line);border-radius:var(--hh-r-sm);padding:12px 14px;min-height:52px}
.hh-profile .sw-label{font-size:14.5px;color:var(--hh-ink);font-weight:600}
.hh-profile .sw-label span{font-weight:400}
.hh-profile .switch{width:46px;height:26px}
.hh-profile .slider{background:#cbd3de;border-radius:13px}
.hh-profile .slider:before{width:20px;height:20px}
.hh-profile input:checked+.slider{background:var(--hh-accent)}
.hh-profile input:checked+.slider:before{transform:translateX(20px)}
.hh-profile .switch input:focus-visible+.slider{box-shadow:var(--hh-ring)}
.hh-profile .hh-link-pill{display:inline-flex;align-items:center;gap:6px;min-height:38px;font-size:13.5px;font-weight:700;color:var(--hh-navy);text-decoration:none;border:1.5px solid var(--hh-line-2);padding:7px 14px;border-radius:999px;background:#fff}
.hh-profile .hh-link-pill:hover{border-color:var(--hh-accent);color:var(--hh-accent)}
.hh-profile .hh-link-pill .hh-ico{width:16px;height:16px}


.hh-profile .jc{background:var(--hh-soft)!important;border:1px solid var(--hh-line)!important;border-radius:14px!important;padding:12px 14px!important;margin-bottom:10px!important}
.hh-profile .jc:hover{background:#eef3fb!important;border-color:var(--hh-accent-line)!important}
.hh-profile .jlogo,.hh-profile .jlogo-fb{width:44px;height:44px;border-radius:10px}
.hh-profile .jlogo{border:1px solid var(--hh-line)}
.hh-profile .jlogo-fb{background:var(--hh-accent-soft);color:var(--hh-accent);font-weight:800}
.hh-profile .hh-job-t{font-size:15px;font-weight:800;color:var(--hh-navy);margin:0 0 1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hh-profile .hh-job-s{font-size:13.5px;color:var(--hh-muted);margin:0 0 1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hh-profile .hh-job-x{font-size:12.5px;color:#8a93a3;margin:0 0 1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hh-profile .hh-act{display:inline-flex;align-items:center;gap:6px;min-height:34px;font-size:13px;font-weight:800;padding:6px 12px;border-radius:var(--hh-r-xs);cursor:pointer;border:1.5px solid transparent;transition:background .15s,border-color .15s}
.hh-profile .hh-act .hh-ico{width:15px;height:15px}
.hh-profile .hh-act--primary{background:var(--hh-accent);color:#fff}
.hh-profile .hh-act--primary:hover{background:var(--hh-accent-hover)}
.hh-profile .hh-act--task,.hh-profile .kt-pending-btn{background:var(--hh-warn);color:#fff}
.hh-profile .hh-act--task:hover,.hh-profile .kt-pending-btn:hover{background:#92400e}
.hh-profile .kt-pending-btn{display:inline-flex;align-items:center;gap:6px;min-height:34px;font-size:13px;font-weight:800;padding:6px 12px;border-radius:var(--hh-r-xs)}
.hh-profile .kt-pending-btn .hh-ico{width:15px;height:15px}
.hh-profile .hh-act--ghost{background:#fff;color:var(--hh-navy);border-color:var(--hh-line-2)}
.hh-profile .hh-act--ghost:hover{border-color:var(--hh-accent);color:var(--hh-accent)}


.hh-profile .pdf-b{width:36px;height:36px;border-radius:9px;background:var(--hh-err-soft);color:var(--hh-err);font-weight:800}
.hh-profile .doc-row{padding:10px 0;gap:10px}
.hh-profile .doc-row+.doc-row{border-top:1px solid var(--hh-line)}


.hh-profile .hallitus-grid-item{background:var(--hh-soft);border:1px solid var(--hh-line);border-radius:var(--hh-r-sm)}
.hh-profile .hallitus-grid-item p:first-child{color:var(--hh-muted);font-weight:800}
.hh-profile .hallitus-grid-item p:last-child{font-weight:700}


.hh-profile .hh-profile-foot{margin-top:28px;padding-top:16px;border-top:1px solid var(--hh-line);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.hh-profile .hh-profile-foot a{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--hh-muted);text-decoration:none;min-height:44px}
.hh-profile .hh-profile-foot a:hover{color:var(--hh-navy)}
.hh-profile .hh-profile-foot .hh-ico{width:16px;height:16px}
.hh-profile .hh-del-link{font-size:13px;color:#8a93a3;background:none;border:0;cursor:pointer;padding:0 4px;min-height:44px}
.hh-profile .hh-del-link:hover{color:var(--hh-err)}


.hh-profile .hh-done-ico{width:56px;height:56px;border-radius:50%;background:var(--hh-ok-soft);color:var(--hh-ok);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}
.hh-profile .hh-done-ico .hh-ico{width:28px;height:28px}
.hh-profile .login-wrap{min-height:calc(100vh - 64px - 140px);background:transparent;padding:32px 16px}
.hh-profile .login-card{border:1px solid var(--hh-line);border-radius:18px;box-shadow:var(--hh-shadow);padding:32px 28px;max-width:440px}
.hh-profile .login-card h1,.hh-profile .login-card h2{font-weight:800!important;color:var(--hh-navy)}
.hh-profile .login-card label{font-weight:700!important;color:var(--hh-ink)!important;font-size:14px!important}
@media (max-width:480px){ .hh-profile .login-card{padding:24px 18px} }
.hh-profile .spinner{border-color:var(--hh-accent-soft);border-top-color:var(--hh-accent)}
.hh-profile .progress-bar{background:var(--hh-accent)}


.hh-profile .mo{background:rgba(5,28,44,.5)}
.hh-profile .mb{border-radius:var(--hh-r);box-shadow:var(--hh-shadow-lg)}
.hh-profile #drawerOverlay{background:rgba(5,28,44,.45)}
.hh-profile #drawerTitle{font-weight:800;color:var(--hh-navy);font-size:19px}
.hh-profile #drawerHeader,.hh-profile #drawerFooter{border-color:var(--hh-line)}
.hh-profile #drawerClose{width:44px;height:44px}
.hh-profile #saveMsg{color:var(--hh-ok-ink);font-weight:700}


.hh-profile #ktHakijaOverlay{background:rgba(5,28,44,.5)}
.hh-profile #ktHakijaBox{border-radius:var(--hh-r)!important;box-shadow:var(--hh-shadow-lg)!important}
.hh-profile #ktHakijaLaheta{background:var(--hh-accent)!important;font-weight:800!important;min-height:44px}
.hh-profile #ktHakijaLaheta:hover{background:var(--hh-accent-hover)!important}
.hh-profile .kt-q-card{background:var(--hh-soft);border:1px solid var(--hh-line);border-radius:14px;padding:16px}
.hh-profile .kt-q-text{font-weight:700;font-size:15px;color:var(--hh-navy)}
.hh-profile .kt-radio-opt,.hh-profile .kt-check-opt{border:1.5px solid var(--hh-line-2);border-radius:var(--hh-r-sm);min-height:46px}
.hh-profile .kt-radio-opt:hover,.hh-profile .kt-check-opt:hover{border-color:var(--hh-accent);background:var(--hh-accent-soft)}
.hh-profile .kt-radio-opt input,.hh-profile .kt-check-opt input{accent-color:var(--hh-accent);width:18px;height:18px}
.hh-profile .kt-rating-btn{border:1.5px solid var(--hh-line-2);border-radius:var(--hh-r-xs);min-width:36px;min-height:36px}
.hh-profile .kt-rating-btn:hover{border-color:var(--hh-accent);background:var(--hh-accent-soft)}
.hh-profile .kt-rating-btn.selected{background:var(--hh-accent);border-color:var(--hh-accent);color:#fff}
.hh-profile .kt-rating-toggle{color:var(--hh-accent)}
.hh-profile .kt-sa-block{border:1px solid var(--hh-line);border-radius:14px}
.hh-profile .kt-q-required{color:var(--hh-err)}


.hh-profile .hkirje-overlay{background:rgba(5,28,44,.55)}
.hh-profile .hkirje-box{border-radius:var(--hh-r);box-shadow:var(--hh-shadow-lg)}
.hh-profile .hkirje-head,.hh-profile .hkirje-actions{background:#fff;border-color:var(--hh-line)}
.hh-profile .hkirje-title{color:var(--hh-navy)}
.hh-profile .hkirje-close{min-width:44px;min-height:44px}
.hh-profile .hkirje-tabs{background:var(--hh-soft);border:1px solid var(--hh-line)}
.hh-profile .hkirje-tab{min-height:40px}
.hh-profile .hkirje-tab.active{color:var(--hh-accent)}
.hh-profile .hkirje-btn{min-height:44px;border-radius:var(--hh-r-sm)}
.hh-profile .hkirje-btn.cancel{border:1.5px solid var(--hh-line-2);color:var(--hh-navy)}
.hh-profile .hkirje-btn.save{background:var(--hh-accent)}
.hh-profile .hkirje-btn.save:hover{background:var(--hh-accent-hover)}
.hh-profile .hkirje-pdf-current{background:var(--hh-accent-soft);border-color:var(--hh-accent-line)}
.hh-profile .hkirje-pdf-current-open{background:var(--hh-accent)}
.hh-profile .hkirje-pdf-drop:hover,.hh-profile .hkirje-pdf-drop.dragover{border-color:var(--hh-accent);background:var(--hh-accent-soft)}


@media (max-width:560px){
  .hh-profile .edit-btn,.hh-profile .bsm{min-height:40px}
  .hh-profile .hh-act,.hh-profile .kt-pending-btn{min-height:40px;font-size:13px}
}
