
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text)}#app{max-width:760px;margin:auto;min-height:100vh;background:var(--bg)}.topbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:16px 18px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.topbar small{display:block;color:var(--muted);margin-top:3px}.icon-btn{border:0;background:#eef4ff;border-radius:12px;width:42px;height:42px;font-size:20px}.welcome{margin-bottom:16px}.menu{display:grid;grid-template-columns:1fr 1fr;gap:12px}.menu button,.card,.panel{background:var(--card);border:1px solid var(--line);box-shadow:0 5px 18px rgba(25,49,90,.06);border-radius:16px}.menu button{padding:20px 10px;min-height:100px;font-size:15px;font-weight:700;color:var(--text)}.menu .wide{grid-column:1/-1;background:var(--blue);color:white}.emoji{font-size:27px;display:block;margin-bottom:8px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.section-title h2{font-size:20px;margin:0}.search{display:flex;gap:8px;margin-bottom:12px}.input,select,textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 13px;font:inherit;background:white}textarea{min-height:92px}.btn{border:0;border-radius:12px;padding:12px 14px;font-weight:700;background:#edf2f9;color:var(--text)}.btn.danger{background:#fde8e8;color:#b4232d}.btn.warn{background:#fff3da;color:#9a6200}.list{display:flex;flex-direction:column;gap:9px}.card{padding:14px}.person{display:flex;justify-content:space-between;gap:12px;cursor:pointer}.person h3{font-size:15px;margin:0 0 5px}.meta{font-size:13px;color:var(--muted);line-height:1.5}.badges{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.badge{font-size:11px;font-weight:700;padding:5px 7px;border-radius:8px;background:#f0f2f5}.tabs{display:flex;gap:8px;margin-bottom:12px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field{margin:10px 0}.field label{display:block;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:5px}.panel{padding:15px;margin-bottom:12px}.panel h3{font-size:15px;margin:0 0 10px}.actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.actions .full{grid-column:1/-1}.call-header{background:#eef5ff;border:1px solid #dceaff;border-radius:16px;padding:14px;margin-bottom:12px}.questions{white-space:pre-line;font-size:14px;line-height:1.55}.attempts{font-weight:700;margin:10px 0}.hidden{display:none!important}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:#162033;color:#fff;padding:10px 14px;border-radius:12px;z-index:100;opacity:0;transition:.2s}.toast.show{opacity:1}#toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:#162033;color:white;padding:10px 14px;border-radius:12px;opacity:0;pointer-events:none;transition:.2s;z-index:99}#toast.show{opacity:1}.empty{text-align:center;color:var(--muted);padding:30px}.stat{font-size:28px;font-weight:800}.back{margin-bottom:12px}.small{font-size:12px;color:var(--muted)}
@media(max-width:420px){.menu button{min-height:92px}.actions{grid-template-columns:1fr}.actions .full{grid-column:auto}}
.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.check-card{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:700;font-size:13px}.check-card input{width:auto}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stats-grid .panel{margin:0}@media(max-width:420px){.check-grid,.stats-grid{grid-template-columns:1fr}}

.beneficiary-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.beneficiary-actions .wide{grid-column:1/-1}.beneficiary-actions .btn{text-align:center;min-height:48px}@media(max-width:420px){.beneficiary-actions{grid-template-columns:1fr 1fr}}

.beneficiary-actions .btn{width:100%;height:100%;min-height:52px;display:flex;align-items:center;justify-content:center}


/* Registration + SOS 0.8 */
.duplicate-warning{border:1px solid #f2c94c;background:#fff9e8}
.registration-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.registration-step{position:relative;padding-top:18px}
.registration-step .step-label{position:absolute;right:14px;top:12px;width:28px;height:28px;border-radius:999px;background:#eef5ff;color:#1769e0;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px}
.registration-summary{margin-top:10px;padding:11px 12px;border-radius:12px;background:#f2f6fb;font-size:13px;line-height:1.45}
.registration-finish{width:100%;min-height:58px;font-size:16px;margin-bottom:18px}
.intake-final-actions .btn{min-height:54px}
@media(max-width:420px){.registration-head{align-items:flex-start;flex-direction:column}.registration-head .btn{width:100%}.intake-final-actions{grid-template-columns:1fr}}


/* ===== NEEKA 0.9.1 operational visual redesign ===== */
:root{
  --bg:#f4f7f5;
  --card:#ffffff;
  --text:#17231d;
  --muted:#718078;
  --green:#2f9e44;
  --green-2:#4caf2f;
  --green-soft:#e9f7e9;
  --blue:#214a98;
  --blue-soft:#eaf1ff;
  --yellow:#f4df13;
  --orange:#f59e0b;
  --red:#d9363e;
  --red-soft:#fff0f1;
  --purple:#7652d6;
  --purple-soft:#f0ebff;
  --line:#e4ebe6;
  --shadow:0 10px 30px rgba(28,58,40,.08);
}

html{background:#eef3ef}
body{
  background:
    radial-gradient(circle at 100% 0%, rgba(76,175,47,.08), transparent 28%),
    var(--bg);
  color:var(--text);
}
#app{
  max-width:760px;
  background:transparent;
  padding-bottom:78px;
}

.topbar{
  padding:10px 14px;
  min-height:68px;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(228,235,230,.9);
  box-shadow:0 3px 18px rgba(32,72,47,.04);
}
.brand-lockup{display:flex;align-items:center;gap:10px;min-width:0}
.brand-logo{
  width:92px;
  height:46px;
  object-fit:contain;
  object-position:center;
  flex:0 0 auto;
}
.brand-copy{min-width:0}
.brand-copy strong{
  display:block;
  font-size:13px;
  letter-spacing:.01em;
  color:#23452d;
}
.brand-copy small{
  display:block;
  max-width:190px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.icon-btn{
  background:var(--green-soft);
  color:#237a35;
  width:40px;
  height:40px;
  border-radius:14px;
}

main{padding:14px 14px 22px}

.panel,.card,.menu button{
  border-color:var(--line);
  box-shadow:var(--shadow);
}
.panel,.card{border-radius:18px}
.btn{border-radius:13px}
.btn.primary{background:var(--green);color:#fff}
.btn.primary:hover{background:#27883a}
.btn.success{background:var(--green-soft);color:#237a35}
.input,select,textarea{
  border-color:#dfe8e1;
  background:#fff;
  border-radius:14px;
}
.badge{border-radius:999px;padding:5px 8px}
.badge.ok{background:#e6f6e9;color:#207a34}
.badge.wait{background:#fff4d8;color:#8d6400}
.badge.purple{background:var(--purple-soft);color:#6843c7}
.danger.badge{background:#ffe8ea;color:#b5262f}

.dashboard-wrap{
  position:relative;
  min-height:220px;
  margin:-14px -14px 14px;
  padding:18px 14px 8px;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(247,251,248,.94));
}
.dashboard-wrap:before,
.dashboard-wrap:after{
  content:"";
  position:absolute;
  pointer-events:none;
  opacity:.36;
  bottom:0;
  background:linear-gradient(180deg,#dce9df,#edf4ef);
}
.dashboard-wrap:before{
  left:-8%;
  width:68%;
  height:112px;
  clip-path:polygon(0 100%,26% 58%,42% 78%,68% 20%,100% 100%);
}
.dashboard-wrap:after{
  right:-10%;
  width:72%;
  height:130px;
  opacity:.26;
  clip-path:polygon(0 100%,24% 70%,49% 18%,72% 64%,86% 46%,100% 100%);
}
.dashboard-head,
.dashboard-content{position:relative;z-index:1}
.dashboard-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.dashboard-title h2{
  margin:0;
  font-size:22px;
  letter-spacing:-.02em;
}
.dashboard-title .meta{margin-top:4px}
.role-chip{
  background:#eef8ef;
  color:#2a7f3a;
  border:1px solid #d8edda;
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}

.incident-hero{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  padding:16px;
  color:white;
  background:linear-gradient(135deg,#315f49,#1f7f45);
  box-shadow:0 14px 28px rgba(36,104,63,.20);
  cursor:pointer;
}
.incident-hero.today{
  background:linear-gradient(135deg,#d9343d,#b91f2a);
  box-shadow:0 14px 28px rgba(177,31,42,.20);
}
.incident-hero:after{
  content:"";
  position:absolute;
  width:120px;height:120px;
  border:28px solid rgba(255,255,255,.08);
  border-radius:50%;
  right:-55px;top:-55px;
}
.incident-kicker{
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.86;
}
.incident-name{
  margin-top:5px;
  font-size:19px;
  font-weight:900;
  line-height:1.2;
}
.incident-meta{
  margin-top:8px;
  font-size:12px;
  line-height:1.45;
  opacity:.9;
}
.incident-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:13px;
}
.incident-footer span{
  font-size:11px;
  font-weight:800;
}
.incident-footer button{
  border:0;
  border-radius:11px;
  background:rgba(255,255,255,.94);
  color:#244b36;
  padding:8px 11px;
  font-weight:800;
}

.ops-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:12px 0;
}
.ops-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:#fff;
  box-shadow:0 8px 22px rgba(34,69,46,.06);
  cursor:pointer;
}
.ops-card.blue{background:linear-gradient(145deg,#f5f9ff,#eaf2ff);border-color:#dce8fb}
.ops-card.green{background:linear-gradient(145deg,#f5fbf5,#e8f7e9);border-color:#dceedd}
.ops-card.orange{background:linear-gradient(145deg,#fffaf1,#fff1d9);border-color:#f5e6c4}
.ops-card.purple{background:linear-gradient(145deg,#faf7ff,#f0eaff);border-color:#e6ddfb}
.ops-icon{font-size:22px;margin-bottom:6px}
.ops-label{font-size:11px;font-weight:800;color:#5e6d63}
.ops-value{font-size:28px;font-weight:900;line-height:1;margin-top:5px}
.ops-sub{font-size:11px;color:var(--muted);margin-top:5px}

.rotation-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 13px;
  border:1px solid #d8e9df;
  border-radius:16px;
  background:linear-gradient(90deg,#eff8f2,#f9fbf9);
  cursor:pointer;
}
.rotation-strip strong{font-size:13px}
.rotation-strip .meta{font-size:11px}

.quick-title{
  margin:16px 2px 9px;
  font-size:12px;
  font-weight:900;
  color:#506056;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.quick-actions{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}
.quick-action{
  min-height:74px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(31,62,41,.05);
  font-size:10px;
  font-weight:800;
  color:#3a4b40;
  padding:9px 6px;
}
.quick-action .qa-icon{
  display:block;
  font-size:22px;
  margin-bottom:6px;
}

.bottom-nav{
  position:fixed;
  z-index:40;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:min(760px,100%);
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:2px;
  padding:7px 7px calc(7px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);
  border-top:1px solid var(--line);
  backdrop-filter:blur(18px);
  box-shadow:0 -8px 24px rgba(25,56,37,.06);
}
.bottom-nav button{
  border:0;
  background:transparent;
  color:#758179;
  min-height:50px;
  border-radius:13px;
  font-size:9px;
  font-weight:800;
  padding:4px 2px;
}
.bottom-nav button span{
  display:block;
  font-size:19px;
  line-height:1.1;
  margin-bottom:4px;
}
.bottom-nav button:active{background:#eef7ef;color:#2b8b3c}
.more-menu .menu button{min-height:86px}

@media(max-width:420px){
  main{padding:12px 12px 18px}
  .dashboard-wrap{margin:-12px -12px 12px;padding:16px 12px 8px}
  
  
  
  .ops-card{padding:12px}
  .ops-value{font-size:25px}
  .quick-actions{gap:6px}
  .quick-action{min-height:70px}
}


/* ===== NEEKA 0.9.2 transitional familiar navigation ===== */
#app{padding-bottom:0}

.topbar{
  min-height:72px;
  padding:10px 14px 9px;
}
.brand-logo{
  width:128px;
  height:52px;
}
.brand-copy strong{
  font-size:12px;
  color:#355243;
}
.brand-copy small{
  max-width:210px;
}
.icon-btn{display:none}

main{
  padding-bottom:24px;
}

.bottom-nav{
  display:none !important;
}

.dashboard-wrap{
  min-height:auto;
  padding-bottom:20px;
  margin-bottom:12px;
}
.dashboard-wrap:before{
  opacity:.50;
  height:145px;
  bottom:-16px;
  background:linear-gradient(180deg,#d3e4d6,#e8f1ea);
}
.dashboard-wrap:after{
  opacity:.42;
  height:155px;
  bottom:-24px;
  background:linear-gradient(180deg,#dce9df,#edf4ef);
}
.dashboard-head{
  margin-bottom:4px;
}
.dashboard-title h2{
  font-size:22px;
}
.dashboard-title .meta{
  max-width:310px;
  line-height:1.4;
}

.familiar-menu-title{
  margin:4px 2px 10px;
  font-size:12px;
  font-weight:900;
  color:#536158;
  letter-spacing:.05em;
  text-transform:uppercase;
}


.familiar-menu button{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:76px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 22px rgba(34,69,46,.06);
  padding:12px 13px;
  text-align:left;
  color:var(--text);
}
.familiar-menu .emoji{
  width:34px;
  flex:0 0 34px;
  font-size:25px;
  line-height:1;
  text-align:center;
}
.familiar-menu .fm-copy{
  min-width:0;
}
.familiar-menu .fm-title{
  display:block;
  font-size:13px;
  font-weight:900;
  line-height:1.15;
}
.familiar-menu .fm-sub{
  display:block;
  margin-top:4px;
  font-size:10px;
  color:var(--muted);
  line-height:1.25;
}
.familiar-menu button:active{
  transform:scale(.985);
  background:#f6faf7;
}

.ops-grid.compact{
  margin-top:14px;
}
.ops-grid.compact .ops-card{
  min-height:92px;
  padding:11px 12px;
}
.ops-grid.compact .ops-icon{
  display:none;
}
.ops-grid.compact .ops-value{
  font-size:23px;
}
.ops-grid.compact .ops-label{
  font-size:10px;
}
.ops-grid.compact .ops-sub{
  font-size:10px;
}


.transition-more summary{
  list-style:none;
}
.transition-more summary::-webkit-details-marker{
  display:none;
}
.transition-more summary{
  cursor:pointer;
  font-weight:900;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.transition-more summary:after{
  content:"⌄";
  color:#718078;
}
.transition-more[open] summary:after{
  content:"⌃";
}
.transition-more .menu{
  margin-top:12px;
}

@media(max-width:420px){
  .brand-logo{width:118px;height:50px}
  .brand-copy strong{font-size:11px}
  .brand-copy small{max-width:145px}
  .familiar-menu{gap:8px}
  .familiar-menu button{
    min-height:72px;
    padding:10px;
  }
  .familiar-menu .emoji{
    width:30px;
    flex-basis:30px;
    font-size:23px;
  }
  .familiar-menu .fm-title{font-size:12px}
}


/* ===== NEEKA 0.9.3 exact familiar order + SVG icons ===== */

.familiar-menu{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.familiar-menu button{
  position:relative;
  min-height:82px;
  align-items:center;
}

.fm-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#2c8b45;
}

.fm-icon svg{
  width:28px;
  height:28px;
  stroke:currentColor;
  stroke-width:1.9;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.fm-count{
  position:absolute;
  top:9px;
  right:9px;
  min-width:21px;
  height:21px;
  padding:0 6px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#eef7ef;
  color:#24783a;
  font-size:10px;
  font-weight:900;
  border:1px solid #d9ecd9;
}

.familiar-menu button.blue .fm-icon{color:#3976c7}
.familiar-menu button.orange .fm-icon{color:#df8d11}
.familiar-menu button.purple .fm-icon{color:#7352c8}
.familiar-menu button.gray .fm-icon{color:#647168}

.quick-actions-bottom{
  margin-top:14px;
}

.quick-actions-bottom .quick-title{
  margin-top:0;
}

.quick-actions-bottom .quick-actions{
  grid-template-columns:repeat(4,1fr);
}

.qa-svg{
  display:flex;
  align-items:center;
  justify-content:center;
  height:24px;
  margin-bottom:6px;
  color:#2c8b45;
}

.qa-svg svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.ops-grid.compact{
  display:none;
}

@media(max-width:420px){
  .familiar-menu button{min-height:78px}
  .fm-icon{width:31px;height:31px;flex-basis:31px}
  .fm-icon svg{width:25px;height:25px}
}


/* ===== NEEKA 0.9.4 Beneficiaries + beneficiary card ===== */

.benef-page-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.benef-page-head h2{margin:0;font-size:22px}
.benef-page-head .head-actions{
  display:flex;
  gap:7px;
}
.round-action{
  width:40px;
  height:40px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#347947;
  box-shadow:0 5px 16px rgba(34,69,46,.05);
}
.round-action svg{
  width:20px;height:20px;
  fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}

.benef-toolbar{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  margin-bottom:9px;
}
.benef-search-wrap{
  position:relative;
}
.benef-search-wrap .search-icon{
  position:absolute;
  left:13px;
  top:50%;
  transform:translateY(-50%);
  width:18px;height:18px;
  color:#7c8980;
  pointer-events:none;
}
.benef-search-wrap .search-icon svg{
  width:100%;height:100%;
  fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}
.benef-search-wrap input{
  width:100%;
  padding-left:40px;
  min-height:44px;
}
.filter-square{
  width:44px;height:44px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  color:#3b7f4d;
  display:flex;align-items:center;justify-content:center;
}
.filter-square.active{
  background:#e8f6ea;
  border-color:#cfe8d3;
}
.filter-square svg{
  width:20px;height:20px;
  fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}

.benef-utility-row{
  display:flex;
  gap:8px;
  margin-bottom:12px;
}
.benef-utility-row .btn{
  flex:1;
  min-height:40px;
  font-size:12px;
}

.benef-summary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-bottom:12px;
}
.benef-summary .summary-chip{
  border:1px solid var(--line);
  background:#fff;
  border-radius:13px;
  padding:8px 7px;
  text-align:center;
  box-shadow:0 4px 12px rgba(34,69,46,.04);
}
.benef-summary strong{
  display:block;
  font-size:17px;
  line-height:1;
}
.benef-summary span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:9px;
  font-weight:800;
}

.benef-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:15px 2px 8px;
}
.benef-section-head h3{
  margin:0;
  font-size:14px;
}
.benef-section-head .count-pill{
  min-width:25px;height:25px;padding:0 8px;
  display:flex;align-items:center;justify-content:center;
  border-radius:999px;
  background:#edf5ef;
  color:#3c714a;
  font-size:11px;
  font-weight:900;
}
.benef-section-head.pending .count-pill{
  background:#fff3d8;color:#8f6400;
}

.benef-list{display:flex;flex-direction:column;gap:8px}

.benef-card{
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  box-shadow:0 7px 20px rgba(34,69,46,.055);
  overflow:hidden;
}
.benef-card-main{
  display:grid;
  grid-template-columns:42px 1fr 18px;
  gap:10px;
  align-items:center;
  padding:12px;
  cursor:pointer;
}
.benef-avatar,
.case-avatar{
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:linear-gradient(145deg,#edf4f0,#e2eee6);
  color:#315b3e;
  font-weight:900;
  letter-spacing:.01em;
}
.benef-avatar{width:42px;height:42px;font-size:12px}
.benef-card-copy{min-width:0}
.benef-name{
  font-size:14px;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.benef-meta{
  margin-top:3px;
  font-size:10px;
  line-height:1.35;
  color:var(--muted);
}
.benef-arrow{
  font-size:24px;
  line-height:1;
  color:#9aa49d;
}
.program-chips{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;
  margin-top:8px;
}
.program-chip{
  min-width:0;
  border-radius:8px;
  padding:5px 3px;
  text-align:center;
  font-size:8px;
  font-weight:900;
  line-height:1.15;
  background:#f3f5f4;
  color:#869189;
}
.program-chip.ok{background:#e8f7ea;color:#22803a}
.program-chip.work{background:#eaf2ff;color:#356fbd}
.program-chip.wait{background:#fff3dc;color:#a06a00}
.program-chip.purple{background:#f0eaff;color:#6f4bc5}
.program-chip.off{background:#f3f5f4;color:#9aa39d}
.program-chip.danger{background:#ffebed;color:#b52a34}

.benef-card-actions{
  display:flex;
  gap:7px;
  padding:0 12px 11px;
}
.benef-card-actions .btn{
  flex:1;
  min-height:38px;
  font-size:11px;
}
.registered-line{
  margin:0 12px 11px;
  padding:7px 9px;
  border-radius:10px;
  background:#f0f8f1;
  color:#438052;
  font-size:10px;
  font-weight:800;
}

.benef-collapsible{
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  box-shadow:0 6px 18px rgba(34,69,46,.04);
  margin-top:12px;
  overflow:hidden;
}
.benef-collapsible summary{
  cursor:pointer;
  padding:13px 14px;
  font-size:12px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  list-style:none;
}
.benef-collapsible summary::-webkit-details-marker{display:none}
.benef-collapsible .inside{padding:0 10px 10px}

/* Beneficiary detail */
.case-hero{
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow);
  overflow:hidden;
  margin-bottom:11px;
}
.case-hero-top{
  display:grid;
  grid-template-columns:58px 1fr auto;
  gap:12px;
  align-items:center;
  padding:15px 14px 11px;
}
.case-avatar{
  width:58px;height:58px;
  font-size:17px;
  background:linear-gradient(145deg,#eaf2ef,#dcebe1);
}
.case-name{
  font-size:18px;
  font-weight:900;
  line-height:1.15;
}
.case-idline{
  margin-top:4px;
  font-size:10px;
  color:var(--muted);
}
.case-phone{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-top:4px;
  font-size:12px;
  color:#33453a;
  font-weight:700;
  text-decoration:none;
}
.case-phone svg{
  width:15px;height:15px;
  fill:none;stroke:#2b8b45;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}
.case-sos{
  align-self:start;
}

.case-services{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
  padding:0 12px 13px;
}
.case-service{
  border-radius:10px;
  padding:8px 3px;
  text-align:center;
  min-height:49px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#f3f5f4;
  color:#8c978f;
}
.case-service b{font-size:9px}
.case-service span{
  margin-top:3px;
  font-size:7px;
  font-weight:800;
  line-height:1.1;
}
.case-service.ok{background:#e8f7ea;color:#227b38}
.case-service.work{background:#eaf2ff;color:#356fbd}
.case-service.wait{background:#fff3dc;color:#9b6800}
.case-service.purple{background:#efe9ff;color:#6d48c5}
.case-service.danger{background:#ffeaec;color:#b52a34}

.case-primary-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:0 12px 12px;
}
.case-primary-actions .btn{
  min-height:42px;
  font-size:11px;
}
.case-primary-actions .wide{
  grid-column:1/-1;
}

.case-info-panel{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 18px rgba(34,69,46,.045);
  margin-bottom:10px;
  overflow:hidden;
}
.case-info-head{
  padding:12px 13px 8px;
  font-size:12px;
  font-weight:900;
}
.info-row{
  display:grid;
  grid-template-columns:minmax(105px,42%) 1fr;
  gap:10px;
  padding:9px 13px;
  border-top:1px solid #edf1ee;
  font-size:11px;
  line-height:1.3;
}
.info-label{color:var(--muted)}
.info-value{
  text-align:right;
  font-weight:700;
  overflow-wrap:anywhere;
}

.case-section details,
.case-section{
  margin-bottom:10px;
}
.case-detail-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  list-style:none;
  cursor:pointer;
}
.case-detail-summary::-webkit-details-marker{display:none}

.note-item{
  padding:9px 0;
  border-bottom:1px solid #edf1ee;
}
.note-item:last-child{border-bottom:0}
.note-date{font-size:9px;color:#8a958e}
.note-body{font-size:11px;margin-top:3px;line-height:1.4}

@media(max-width:420px){
  .benef-summary strong{font-size:16px}
  .program-chip{font-size:7.5px;padding:5px 2px}
  .case-services{gap:4px;padding-left:10px;padding-right:10px}
  .case-service b{font-size:8px}
  .case-service span{font-size:6.8px}
}


/* ===== NEEKA 0.9.4a beneficiary toolbar cleanup ===== */
.benef-page-head .head-actions{
  gap:6px;
}
.benef-page-head .round-action{
  width:39px;
  height:39px;
}


/* ===== NEEKA 0.9.4b search button inside field ===== */

.inline-search-btn{
  position:absolute;right:5px;top:50%;transform:translateY(-50%);
  width:34px;height:34px;border:0;border-radius:10px;
  background:#eaf5ec;color:#2e7c43;display:flex;align-items:center;
  justify-content:center;cursor:pointer;
}
.inline-search-btn:active{transform:translateY(-50%) scale(.97);}
.inline-search-btn svg{
  width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}


/* ===== NEEKA 0.9.5 UX cleanup ===== */

/* Search: visible text button inside input */
.benef-search-wrap input{
  padding-right:92px !important;
}
.inline-search-btn{
  right:5px !important;
  width:78px !important;
  height:34px !important;
  z-index:5 !important;
  border-radius:10px !important;
  background:#2f8f49 !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.01em;
  box-shadow:0 3px 10px rgba(47,143,73,.18);
}
.inline-search-btn svg{
  display:none !important;
}
.inline-search-btn::after{
  content:"Пошук";
  display:block;
  font-size:11px;
  line-height:1;
}

/* "Додатково" — compact, aligned and consistent */
.transition-more{
  padding:0 !important;
  overflow:hidden;
  border-radius:18px !important;
  background:#fff !important;
  margin-top:14px !important;
}
.transition-more > summary{
  min-height:50px;
  padding:0 14px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  font-size:13px;
  font-weight:900;
  color:#2d4535;
  list-style:none;
  border-bottom:1px solid transparent;
}
.transition-more > summary::-webkit-details-marker{
  display:none;
}
.transition-more > summary::after{
  content:"›" !important;
  font-size:22px;
  line-height:1;
  color:#829087;
  transform:rotate(90deg);
  transition:transform .16s ease;
}
.transition-more[open] > summary{
  border-bottom-color:#edf1ee;
}
.transition-more[open] > summary::after{
  content:"›" !important;
  transform:rotate(-90deg);
}
.transition-more .menu{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:8px !important;
  margin:0 !important;
  padding:10px !important;
}
.transition-more .menu button{
  min-height:58px !important;
  padding:9px 10px !important;
  border-radius:13px !important;
  border:1px solid #e7eee9 !important;
  background:#f8fbf9 !important;
  box-shadow:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  text-align:left !important;
  font-size:11px !important;
  font-weight:800 !important;
  color:#30463a !important;
}
.transition-more .menu button:active{
  background:#eef6f0 !important;
  transform:scale(.985);
}
.transition-more .menu .fm-icon{
  width:28px !important;
  height:28px !important;
  flex:0 0 28px !important;
  color:#31854a !important;
}
.transition-more .menu .fm-icon svg{
  width:22px !important;
  height:22px !important;
}

@media(max-width:370px){
  .inline-search-btn{
    width:68px !important;
  }
  .benef-search-wrap input{
    padding-right:82px !important;
  }
  .transition-more .menu{
    gap:7px !important;
  }
}


/* ===== NEEKA 0.9.6 multi-incident calls ===== */

.calls-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:11px;
}
.calls-head h2{margin:0;font-size:22px}
.calls-head .meta{margin-top:3px}

.incident-switcher{
  display:flex;
  gap:7px;
  overflow-x:auto;
  padding:2px 1px 8px;
  margin:0 -1px 4px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.incident-switcher::-webkit-scrollbar{display:none}
.incident-chip{
  flex:0 0 auto;
  min-height:42px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  color:#425148;
  padding:7px 11px;
  text-align:left;
  box-shadow:0 4px 13px rgba(34,69,46,.035);
}
.incident-chip.active{
  background:#e9f5eb;
  border-color:#c9e4cf;
  color:#236f38;
}
.incident-chip strong{
  display:block;
  font-size:10px;
  line-height:1.2;
  white-space:nowrap;
}
.incident-chip span{
  display:block;
  margin-top:3px;
  font-size:8px;
  font-weight:800;
  color:#7b8980;
  white-space:nowrap;
}
.incident-chip.active span{color:#4d7659}

.call-incident-summary{
  border:1px solid #dfe9e2;
  border-radius:18px;
  background:linear-gradient(145deg,#f8fcf9,#eef7f0);
  padding:12px 13px;
  margin-bottom:10px;
}
.call-incident-title{
  font-size:14px;
  font-weight:900;
  line-height:1.25;
}
.call-incident-meta{
  margin-top:4px;
  color:#718078;
  font-size:10px;
  line-height:1.35;
}
.call-progress-bar{
  height:6px;
  background:#dce8df;
  border-radius:999px;
  overflow:hidden;
  margin-top:10px;
}
.call-progress-bar > span{
  display:block;
  height:100%;
  background:#4b9d5f;
  border-radius:999px;
}
.call-progress-text{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:5px;
  font-size:9px;
  font-weight:800;
  color:#66806d;
}

.call-mini-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-bottom:12px;
}
.call-mini-stat{
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  padding:8px 6px;
  text-align:center;
  box-shadow:0 4px 12px rgba(34,69,46,.035);
}
.call-mini-stat strong{
  display:block;
  font-size:17px;
  line-height:1;
}
.call-mini-stat span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:8px;
  font-weight:800;
}

.call-list-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:13px 2px 8px;
}
.call-list-title h3{margin:0;font-size:14px}
.call-count-pill{
  min-width:25px;
  height:25px;
  padding:0 8px;
  border-radius:999px;
  background:#edf5ef;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#3f744c;
  font-size:10px;
  font-weight:900;
}

.call-card{
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(34,69,46,.05);
  margin-bottom:8px;
}
.call-card-main{
  display:grid;
  grid-template-columns:42px 1fr auto;
  gap:10px;
  align-items:center;
  padding:11px 12px;
  cursor:pointer;
}
.call-avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  background:linear-gradient(145deg,#edf3f0,#e1ebe5);
  color:#365c42;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:900;
}
.call-copy{min-width:0}
.call-name{
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.call-meta{
  margin-top:3px;
  color:var(--muted);
  font-size:9px;
  line-height:1.35;
}
.call-statuses{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
}
.call-attempt{
  border-radius:999px;
  padding:4px 6px;
  background:#f1f4f2;
  color:#6e7972;
  font-size:8px;
  font-weight:900;
}
.call-attempt.started{
  background:#fff1d8;
  color:#946200;
}
.call-viber{
  border-radius:999px;
  padding:4px 6px;
  background:#efe9ff;
  color:#6742bd;
  font-size:8px;
  font-weight:900;
}
.call-callback{
  border-top:1px solid #edf1ee;
  background:#fbfcfb;
  padding:7px 12px;
  font-size:9px;
  color:#57685d;
}
.call-callback.due{
  background:#fff6e7;
  color:#8a5c00;
  font-weight:800;
}

.calls-batches{
  margin-top:13px !important;
}
.calls-batches > summary{
  cursor:pointer;
  font-size:12px;
  font-weight:900;
}

/* Call detail */
.call-person-hero{
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow);
  overflow:hidden;
  margin-bottom:10px;
}
.call-person-top{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:12px;
  align-items:center;
  padding:14px;
}
.call-person-avatar{
  width:54px;
  height:54px;
  border-radius:50%;
  background:linear-gradient(145deg,#eaf2ed,#dcebe1);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#315d3f;
  font-size:16px;
}
.call-person-name{
  font-size:18px;
  font-weight:900;
  line-height:1.15;
}
.call-phone-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:5px;
  color:#24783b;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
}
.call-phone-link svg{
  width:16px;height:16px;
  fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}
.call-person-location{
  margin-top:4px;
  color:var(--muted);
  font-size:10px;
}

.call-service-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;
  padding:0 12px 12px;
}
.call-service-row .program-chip{
  padding:6px 2px;
}

.call-add-help{
  padding:0 12px 12px;
}
.call-add-help .btn{
  width:100%;
  min-height:39px;
  font-size:11px;
}

.call-registration{
  border:1px solid #d9e8dd;
  border-radius:18px;
  background:#f6fbf7;
  padding:12px 13px;
  margin-bottom:10px;
}
.call-registration-title{
  font-size:12px;
  font-weight:900;
}
.call-registration-main{
  margin-top:6px;
  font-size:11px;
  line-height:1.45;
}
.call-questions{
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid #dde9df;
}
.call-questions strong{
  display:block;
  font-size:10px;
  margin-bottom:4px;
}
.call-questions div{
  font-size:10px;
  color:#56665c;
  white-space:pre-wrap;
  line-height:1.45;
}

.call-note-panel,
.call-result-panel{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:12px;
  margin-bottom:10px;
  box-shadow:0 5px 16px rgba(34,69,46,.04);
}
.call-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:9px;
}
.call-panel-head h3{margin:0;font-size:13px}
.call-note-panel textarea{
  min-height:75px;
}
.call-note-save{
  width:100%;
  margin-top:7px;
}
.call-primary-results{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.call-primary-results .btn{
  min-height:48px;
  font-size:10px;
  line-height:1.2;
}
.call-primary-results .wide{
  grid-column:1/-1;
}
.call-viber-action{
  width:100%;
  min-height:45px;
  margin-top:9px;
  background:#7053c7 !important;
  color:#fff !important;
  border-color:#7053c7 !important;
}
.call-other-results{
  margin-top:10px;
  border-top:1px solid #edf1ee;
  padding-top:10px;
}
.call-other-results summary{
  cursor:pointer;
  font-size:10px;
  font-weight:900;
  color:#59685f;
}
.call-other-results .actions{
  margin-top:8px;
}

@media(max-width:380px){
  .call-primary-results{gap:7px}
  .call-primary-results .btn{font-size:9.5px}
}


/* ===== NEEKA 0.9.7 Humanitarian redesign ===== */

.hum-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.hum-head h2{margin:0;font-size:22px}
.hum-head .meta{margin-top:3px}

.hum-add-btn{
  width:42px;height:42px;
  border:0;
  border-radius:14px;
  background:#2f8d47;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 7px 18px rgba(47,141,71,.18);
}
.hum-add-btn svg{
  width:20px;height:20px;
  fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}

.hum-main-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-bottom:13px;
}
.hum-main-card{
  min-height:112px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:13px;
  box-shadow:0 7px 20px rgba(34,69,46,.05);
  text-align:left;
  color:#304339;
}
.hum-main-card .hicon{
  width:36px;height:36px;
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#edf7ef;
  color:#2f8546;
  margin-bottom:11px;
}
.hum-main-card.orange .hicon{background:#fff2df;color:#c4770a}
.hum-main-card.blue .hicon{background:#eaf2ff;color:#3e74bc}
.hum-main-card.purple .hicon{background:#f0eaff;color:#6d4bc2}
.hum-main-card .hicon svg{
  width:23px;height:23px;
  fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}
.hum-main-card strong{
  display:block;
  font-size:13px;
}
.hum-main-card .count{
  margin-top:4px;
  font-size:22px;
  font-weight:900;
  line-height:1;
}
.hum-main-card .sub{
  margin-top:4px;
  font-size:9px;
  color:var(--muted);
  line-height:1.3;
}

.hum-accounting{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(34,69,46,.04);
}
.hum-accounting summary{
  min-height:49px;
  padding:0 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  list-style:none;
  font-size:12px;
  font-weight:900;
}
.hum-accounting summary::-webkit-details-marker{display:none}
.hum-accounting summary:after{
  content:"›";
  font-size:21px;
  color:#89938d;
  transform:rotate(90deg);
}
.hum-accounting[open] summary:after{transform:rotate(-90deg)}
.hum-account-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:0 10px 10px;
}
.hum-account-btn{
  min-height:67px;
  border:1px solid #e5ece7;
  border-radius:13px;
  background:#f8fbf9;
  padding:9px 10px;
  display:flex;
  align-items:center;
  gap:9px;
  text-align:left;
  color:#34463b;
}
.hum-account-btn .hicon{
  width:30px;height:30px;flex:0 0 30px;
  display:flex;align-items:center;justify-content:center;
  color:#367d49;
}
.hum-account-btn .hicon svg{
  width:21px;height:21px;
  fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}
.hum-account-btn b{font-size:10px;display:block}
.hum-account-btn span{font-size:8px;color:var(--muted);display:block;margin-top:2px}

/* Lists / cards */
.hum-section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin:13px 2px 8px;
}
.hum-section-head h3{margin:0;font-size:14px}
.hum-count{
  min-width:25px;height:25px;padding:0 8px;
  border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  background:#edf5ef;
  color:#3c7249;
  font-size:10px;font-weight:900;
}
.hum-count.wait{background:#fff2dc;color:#986600}
.hum-count.ok{background:#e6f6e9;color:#26783a}

.hum-card{
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(34,69,46,.045);
  margin-bottom:8px;
}
.hum-card-main{
  display:grid;
  grid-template-columns:42px 1fr auto;
  gap:10px;
  align-items:center;
  padding:11px 12px;
  cursor:pointer;
}
.hum-avatar{
  width:42px;height:42px;border-radius:50%;
  background:linear-gradient(145deg,#edf3f0,#e1ece5);
  display:flex;align-items:center;justify-content:center;
  color:#365e42;font-size:12px;font-weight:900;
}
.hum-card-name{
  font-size:13px;font-weight:900;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.hum-card-meta{
  margin-top:3px;
  color:var(--muted);
  font-size:9px;
  line-height:1.35;
}
.hum-item-line{
  margin-top:6px;
  display:flex;
  gap:5px;
  flex-wrap:wrap;
}
.hum-item-pill{
  border-radius:999px;
  background:#f0f5f1;
  color:#53685a;
  padding:4px 7px;
  font-size:8px;
  font-weight:800;
}
.hum-card-actions{
  padding:0 11px 11px;
}
.hum-card-actions .btn{
  width:100%;
  min-height:39px;
  font-size:11px;
}

.hum-status{
  border-radius:999px;
  padding:5px 7px;
  background:#fff1d9;
  color:#946100;
  font-size:8px;
  font-weight:900;
  white-space:nowrap;
}
.hum-status.ok{background:#e5f5e8;color:#27793b}
.hum-status.work{background:#eaf2ff;color:#3c6fb5}

.session-card{
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  padding:12px;
  margin-bottom:8px;
  box-shadow:0 6px 18px rgba(34,69,46,.045);
  cursor:pointer;
}
.session-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
}
.session-title{
  font-size:13px;
  font-weight:900;
}
.session-meta{
  margin-top:4px;
  color:var(--muted);
  font-size:9px;
  line-height:1.35;
}
.session-stock{
  margin-top:8px;
  padding-top:7px;
  border-top:1px solid #edf1ee;
  font-size:8px;
  color:#617066;
  line-height:1.4;
}

.hum-collapsible{
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  margin-top:11px;
  overflow:hidden;
}
.hum-collapsible summary{
  padding:12px 13px;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.hum-collapsible summary::-webkit-details-marker{display:none}
.hum-collapsible .inside{padding:0 10px 10px}

/* Request detail */
.hum-person-hero{
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow);
  overflow:hidden;
  margin-bottom:10px;
}
.hum-person-top{
  display:grid;
  grid-template-columns:55px 1fr;
  gap:12px;
  align-items:center;
  padding:14px;
}
.hum-person-avatar{
  width:55px;height:55px;border-radius:50%;
  background:linear-gradient(145deg,#eaf2ed,#dceae0);
  display:flex;align-items:center;justify-content:center;
  color:#315e3f;font-size:16px;font-weight:900;
}
.hum-person-name{font-size:18px;font-weight:900;line-height:1.15}
.hum-phone{
  display:inline-flex;align-items:center;gap:5px;
  margin-top:5px;
  color:#287c3d;
  font-size:12px;font-weight:900;text-decoration:none;
}
.hum-phone svg{
  width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}
.hum-loc{margin-top:4px;font-size:10px;color:var(--muted)}

.hum-household-summary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  padding:0 12px 12px;
}
.hum-hh-box{
  border-radius:12px;
  background:#f3f7f4;
  padding:8px 5px;
  text-align:center;
}
.hum-hh-box strong{display:block;font-size:17px}
.hum-hh-box span{display:block;margin-top:3px;font-size:8px;color:var(--muted);font-weight:800}

.hum-form-panel{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:12px;
  margin-bottom:10px;
  box-shadow:0 5px 16px rgba(34,69,46,.04);
}
.hum-calculation{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:10px 0 3px;
}
.hum-calc-box{
  border-radius:13px;
  background:#edf7ef;
  padding:10px;
  text-align:center;
}
.hum-calc-box strong{display:block;font-size:20px;color:#2c7c40}
.hum-calc-box span{display:block;margin-top:3px;font-size:8px;color:#65766a;font-weight:800}

/* Distribution session */
.dist-hero{
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(145deg,#f8fcf9,#eef7f0);
  padding:13px;
  margin-bottom:10px;
}
.dist-title{font-size:17px;font-weight:900}
.dist-meta{margin-top:4px;font-size:9px;color:#697a6f}
.dist-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-top:11px;
}
.dist-stat{
  background:#fff;
  border:1px solid #dfebe2;
  border-radius:12px;
  padding:8px 5px;
  text-align:center;
}
.dist-stat strong{display:block;font-size:16px}
.dist-stat span{display:block;margin-top:3px;font-size:8px;color:var(--muted);font-weight:800}

.stock-row{
  border:1px solid #e5ece7;
  border-radius:12px;
  background:#f8fbf9;
  padding:9px 10px;
  margin-bottom:7px;
}
.stock-row strong{font-size:10px}
.stock-row .meta{font-size:8px;margin-top:3px}

/* Issue screen */
.issue-person{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:13px;
  margin-bottom:10px;
}
.issue-person h2{margin:0;font-size:18px}
.issue-person .meta{margin-top:5px}
.issue-household{
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  margin-bottom:10px;
  overflow:hidden;
}
.issue-household summary{
  cursor:pointer;
  padding:12px 13px;
  font-size:11px;font-weight:900;
}
.issue-hh-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  padding:0 10px 10px;
}
.issue-hh-item{
  border-radius:10px;
  background:#f5f8f6;
  padding:8px;
  font-size:8px;
  color:#5c6c62;
}
.issue-items{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:12px;
  margin-bottom:10px;
}
.issue-item{
  display:grid;
  grid-template-columns:1fr 86px;
  gap:9px;
  align-items:center;
  padding:9px 0;
  border-bottom:1px solid #edf1ee;
}
.issue-item:last-child{border-bottom:0}
.issue-item-name{font-size:10px;font-weight:900}
.issue-item-stock{font-size:8px;color:var(--muted);margin-top:2px}
.issue-item input{text-align:center}

@media(max-width:380px){
  .hum-main-grid{gap:8px}
  .hum-main-card{padding:11px;min-height:106px}
  .hum-main-card .count{font-size:20px}
}


/* ===== NEEKA 0.9.8 Psychological support redesign ===== */

.pss-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.pss-head h2{margin:0;font-size:22px}
.pss-head .meta{margin-top:3px}
.pss-add-btn{
  width:42px;height:42px;
  border:0;border-radius:14px;
  background:#6b53c5;color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 7px 18px rgba(107,83,197,.18);
}
.pss-add-btn svg{
  width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}

.pss-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-bottom:12px;
}
.pss-stat{
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  padding:9px 6px;
  text-align:center;
  box-shadow:0 4px 12px rgba(34,69,46,.04);
}
.pss-stat strong{
  display:block;
  font-size:18px;
  line-height:1;
}
.pss-stat span{
  display:block;
  margin-top:4px;
  font-size:8px;
  color:var(--muted);
  font-weight:800;
}
.pss-stat.purple{background:#f3efff;border-color:#e3dbff;color:#6245b8}
.pss-stat.green{background:#eef8f0;border-color:#dcecdf;color:#2b7a40}

.pss-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:14px 2px 8px;
}
.pss-section-head h3{margin:0;font-size:14px}
.pss-count{
  min-width:25px;height:25px;padding:0 8px;
  display:flex;align-items:center;justify-content:center;
  border-radius:999px;
  background:#f0ebff;color:#6749ba;
  font-size:10px;font-weight:900;
}

.pss-card{
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(34,69,46,.045);
  margin-bottom:8px;
}
.pss-card-main{
  display:grid;
  grid-template-columns:42px 1fr auto;
  gap:10px;
  align-items:center;
  padding:11px 12px;
  cursor:pointer;
}
.pss-avatar{
  width:42px;height:42px;border-radius:50%;
  background:linear-gradient(145deg,#f1edff,#e5defc);
  color:#6349ad;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:900;
}
.pss-name{
  font-size:13px;font-weight:900;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.pss-meta{
  margin-top:3px;
  color:var(--muted);
  font-size:9px;
  line-height:1.35;
}
.pss-card-actions{
  padding:0 11px 11px;
}
.pss-card-actions .btn{width:100%;min-height:39px;font-size:11px}
.pss-status{
  border-radius:999px;
  padding:5px 7px;
  font-size:8px;font-weight:900;white-space:nowrap;
  background:#f0eaff;color:#6545b7;
}
.pss-status.open{background:#fff1d9;color:#916100}
.pss-status.closed{background:#e6f6e9;color:#27793b}

.pss-assign{
  display:grid;
  grid-template-columns:1fr auto;
  gap:7px;
  padding:0 11px 11px;
}
.pss-assign select{min-width:0}
.pss-assign .btn{min-height:39px}

.pss-collapsible{
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  overflow:hidden;
  margin-top:11px;
}
.pss-collapsible summary{
  list-style:none;
  cursor:pointer;
  padding:12px 13px;
  font-size:11px;font-weight:900;
  display:flex;align-items:center;justify-content:space-between;
}
.pss-collapsible summary::-webkit-details-marker{display:none}
.pss-collapsible .inside{padding:0 10px 10px}

/* PSS case */
.pss-hero{
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow);
  overflow:hidden;
  margin-bottom:10px;
}
.pss-hero-top{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:12px;
  align-items:center;
  padding:14px;
}
.pss-hero-avatar{
  width:56px;height:56px;border-radius:50%;
  background:linear-gradient(145deg,#f1edff,#e2dafb);
  color:#6044ad;
  display:flex;align-items:center;justify-content:center;
  font-size:16px;font-weight:900;
}
.pss-hero-name{font-size:18px;font-weight:900;line-height:1.15}
.pss-phone{
  display:inline-flex;align-items:center;gap:5px;
  margin-top:5px;
  color:#5c43ad;
  font-size:12px;font-weight:900;text-decoration:none;
}
.pss-phone svg{
  width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}
.pss-location{margin-top:4px;font-size:10px;color:var(--muted)}
.pss-family-chip{
  display:inline-block;
  margin-top:6px;
  border-radius:999px;
  padding:4px 7px;
  font-size:8px;font-weight:900;
  background:#edf7ef;color:#2c7740;
}

.pss-help-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  padding:0 12px 12px;
}
.pss-help-box{
  min-height:56px;
  border-radius:12px;
  background:#f4f5f5;
  color:#7e8882;
  padding:9px;
}
.pss-help-box.active{
  background:#eef8f0;
  color:#2a7840;
}
.pss-help-box strong{display:block;font-size:10px}
.pss-help-box span{display:block;margin-top:4px;font-size:8px;font-weight:800}

.pss-case-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:0 12px 12px;
}
.pss-case-actions .btn{min-height:40px;font-size:10px}

.pss-panel{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:12px;
  margin-bottom:10px;
  box-shadow:0 5px 16px rgba(34,69,46,.04);
}
.pss-panel-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-bottom:9px;
}
.pss-panel-head h3{margin:0;font-size:13px}
.pss-note{
  border-radius:12px;
  background:#f6f4ff;
  color:#594d77;
  padding:9px 10px;
  font-size:10px;
  line-height:1.4;
  margin-top:8px;
}

.pss-consult-card{
  border:1px solid #e6e9e7;
  border-radius:14px;
  background:#fbfcfb;
  padding:10px;
  margin-bottom:7px;
}
.pss-consult-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
}
.pss-consult-date{
  font-size:11px;font-weight:900;
}
.pss-consult-label{
  margin-top:3px;
  font-size:8px;
  color:var(--muted);
}
.pss-consult-actions{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:6px;
  margin-top:8px;
}
.pss-consult-actions .btn{
  min-height:35px;
  padding:6px;
  font-size:8px;
}

.pss-next-empty{
  border:1px dashed #d8dfda;
  border-radius:13px;
  background:#fafcfb;
  padding:12px;
  color:#78837c;
  font-size:9px;
  text-align:center;
}

.pss-close-btn{
  width:100%;
  min-height:46px;
  margin-top:2px;
}

/* consultation scheduling */
.consult-form-hero{
  border:1px solid #e3ddf7;
  border-radius:18px;
  background:#f7f4ff;
  padding:13px;
  margin-bottom:10px;
}
.consult-form-hero h2{margin:0;font-size:18px}
.consult-form-hero .meta{margin-top:5px}

@media(max-width:380px){
  .pss-consult-actions{grid-template-columns:1fr}
}


/* ===== NEEKA 0.9.8a Quick anonymous PFA ===== */

.pfa-quick-btn{
  width:100%;
  min-height:54px;
  border:0;
  border-radius:17px;
  background:linear-gradient(135deg,#6d53c7,#7e62d4);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-size:14px;
  font-weight:900;
  box-shadow:0 8px 22px rgba(109,83,199,.20);
  margin-bottom:12px;
}
.pfa-quick-btn svg{
  width:22px;height:22px;
  fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}

.pfa-recent{
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  overflow:hidden;
  margin-bottom:12px;
}
.pfa-recent summary{
  cursor:pointer;
  list-style:none;
  padding:12px 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:11px;
  font-weight:900;
}
.pfa-recent summary::-webkit-details-marker{display:none}
.pfa-recent .inside{padding:0 10px 10px}

.pfa-row{
  border-top:1px solid #edf1ee;
  padding:9px 2px;
}
.pfa-row:first-child{border-top:0}
.pfa-row-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
}
.pfa-row-title{
  font-size:10px;
  font-weight:900;
}
.pfa-row-meta{
  margin-top:3px;
  font-size:8px;
  line-height:1.4;
  color:var(--muted);
}
.pfa-row-actions{
  display:flex;
  gap:6px;
  margin-top:7px;
}
.pfa-row-actions .btn{
  min-height:34px;
  padding:6px 9px;
  font-size:8px;
}
.pfa-promoted{
  border-radius:999px;
  background:#e7f6ea;
  color:#26773a;
  padding:4px 7px;
  font-size:8px;
  font-weight:900;
  white-space:nowrap;
}

.pfa-form-hero{
  border:1px solid #e3ddf7;
  border-radius:20px;
  background:linear-gradient(145deg,#faf8ff,#f1edff);
  padding:14px;
  margin-bottom:10px;
}
.pfa-form-hero h2{margin:0;font-size:19px}
.pfa-form-hero .meta{margin-top:5px;line-height:1.4}

.pfa-form-panel{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:12px;
  margin-bottom:10px;
  box-shadow:0 5px 16px rgba(34,69,46,.04);
}
.pfa-optional{
  border:1px solid #e8ece9;
  border-radius:14px;
  overflow:hidden;
  margin-top:9px;
}
.pfa-optional summary{
  cursor:pointer;
  padding:11px 12px;
  font-size:10px;
  font-weight:900;
}
.pfa-optional .inside{padding:0 10px 10px}

.pfa-follow-card{
  display:flex;
  align-items:flex-start;
  gap:9px;
  border-radius:14px;
  background:#f5f2ff;
  padding:10px;
  margin-top:10px;
  font-size:10px;
  line-height:1.4;
}
.pfa-follow-card input{margin-top:2px}

.pfa-contact-needed{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #eeeaf9;
}

.pfa-save{
  width:100%;
  min-height:49px;
  font-size:13px;
}

.pfa-promote-hero{
  border:1px solid #dfe8e1;
  border-radius:18px;
  background:#f6faf7;
  padding:13px;
  margin-bottom:10px;
}
.pfa-promote-hero h2{margin:0;font-size:18px}
.pfa-promote-hero .meta{margin-top:5px}

.pss-stat.pfa{
  background:#f4f0ff;
  border-color:#e5ddff;
  color:#6549b8;
}


/* ===== NEEKA 0.9.8b PSS intake role actions ===== */
.pss-intake-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.pss-intake-actions.two{
  grid-template-columns:1fr 1fr;
}
.pss-intake-actions .btn{
  min-height:47px;
  font-size:11px;
  font-weight:900;
}
@media(max-width:360px){
  .pss-intake-actions.two{
    grid-template-columns:1fr;
  }
}


/* ===== NEEKA 0.9.9 Tasks + UCT rotation ===== */

/* Tasks */
.task99-head,
.rotation99-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.task99-head h2,
.rotation99-head h2{
  margin:0;
  font-size:22px;
}
.task99-head .meta,
.rotation99-head .meta{
  margin-top:3px;
}

.task99-add,
.rotation99-add{
  width:42px;
  height:42px;
  border:0;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}
.task99-add{
  background:#2f8b49;
  box-shadow:0 7px 18px rgba(47,139,73,.18);
}
.rotation99-add{
  background:#5b6ec4;
  box-shadow:0 7px 18px rgba(91,110,196,.18);
}
.task99-add svg,
.rotation99-add svg{
  width:20px;height:20px;
  fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}

.task99-stats,
.rotation99-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-bottom:12px;
}
.task99-stat,
.rotation99-stat{
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  padding:9px 6px;
  text-align:center;
  box-shadow:0 4px 12px rgba(34,69,46,.035);
}
.task99-stat strong,
.rotation99-stat strong{
  display:block;
  font-size:18px;
  line-height:1;
}
.task99-stat span,
.rotation99-stat span{
  display:block;
  margin-top:4px;
  font-size:8px;
  color:var(--muted);
  font-weight:800;
}
.task99-stat.danger{
  background:#fff0ef;
  border-color:#f4d8d5;
  color:#b5443d;
}
.task99-stat.today{
  background:#fff7e7;
  border-color:#f2e2bd;
  color:#9b6b0e;
}
.rotation99-stat.neeka{
  background:#eff8f1;
  border-color:#dcecdf;
  color:#287840;
}
.rotation99-stat.partner{
  background:#f3f5ff;
  border-color:#e0e4f7;
  color:#5266b4;
}

.task99-section-head,
.rotation99-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:13px 2px 8px;
}
.task99-section-head h3,
.rotation99-section-head h3{
  margin:0;
  font-size:14px;
}
.task99-count,
.rotation99-count{
  min-width:25px;
  height:25px;
  padding:0 8px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#edf5ef;
  color:#3e744a;
  font-size:10px;
  font-weight:900;
}
.task99-count.danger{
  background:#fee9e7;
  color:#b2443c;
}

.task99-card{
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(34,69,46,.045);
  margin-bottom:8px;
}
.task99-main{
  display:grid;
  grid-template-columns:36px 1fr auto;
  gap:10px;
  align-items:flex-start;
  padding:11px 12px;
}
.task99-icon{
  width:36px;height:36px;
  border-radius:11px;
  background:#eef6f0;
  color:#347b48;
  display:flex;align-items:center;justify-content:center;
}
.task99-icon.overdue{
  background:#fff0ef;
  color:#b5453e;
}
.task99-icon.consult{
  background:#f2efff;
  color:#674db7;
}
.task99-icon.call{
  background:#edf3ff;
  color:#4f70b3;
}
.task99-icon svg{
  width:20px;height:20px;
  fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}
.task99-title{
  font-size:12px;
  font-weight:900;
  line-height:1.3;
}
.task99-meta{
  margin-top:4px;
  color:var(--muted);
  font-size:9px;
  line-height:1.4;
}
.task99-progress{
  height:5px;
  border-radius:999px;
  background:#e7ece8;
  overflow:hidden;
  margin-top:7px;
}
.task99-progress span{
  display:block;
  height:100%;
  border-radius:999px;
  background:#4b9a5d;
}
.task99-done{
  width:36px;
  height:36px;
  border:1px solid #cfe4d5;
  border-radius:11px;
  background:#eff8f1;
  color:#287840;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  font-weight:900;
}
.task99-bottom{
  border-top:1px solid #edf1ee;
  padding:8px 11px 10px;
}
.task99-desc{
  font-size:9px;
  color:#58695e;
  line-height:1.45;
  white-space:pre-wrap;
}
.task99-linked{
  margin-top:7px;
  display:flex;
  gap:7px;
}
.task99-linked .btn{
  min-height:35px;
  font-size:9px;
}
.task99-badges{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-top:6px;
}
.task99-chip{
  border-radius:999px;
  padding:4px 7px;
  background:#f2f5f3;
  color:#5c6d62;
  font-size:8px;
  font-weight:900;
}
.task99-chip.high{
  background:#fee9e7;
  color:#ae423a;
}
.task99-chip.medium{
  background:#fff1d9;
  color:#916100;
}
.task99-chip.overdue{
  background:#fee9e7;
  color:#ae423a;
}
.task99-chip.today{
  background:#fff4de;
  color:#966308;
}

.task99-form,
.rotation99-form{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:12px;
  margin-bottom:10px;
  box-shadow:0 5px 16px rgba(34,69,46,.04);
}
.task99-assignees{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}
.task99-assignee{
  border:1px solid #e6ece8;
  border-radius:12px;
  background:#f9fbfa;
  padding:9px;
  font-size:9px;
  line-height:1.3;
}
.task99-assignee span{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:8px;
}

/* Rotation */
.rotation99-card{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  margin-bottom:9px;
  box-shadow:0 6px 18px rgba(34,69,46,.045);
}
.rotation99-main{
  padding:12px;
}
.rotation99-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.rotation99-date{
  font-size:10px;
  font-weight:900;
  color:#718077;
}
.rotation99-location{
  margin-top:3px;
  font-size:15px;
  font-weight:900;
  line-height:1.25;
}
.rotation99-org{
  flex:0 0 auto;
  border-radius:999px;
  padding:5px 8px;
  font-size:8px;
  font-weight:900;
  background:#eef2f0;
  color:#59675e;
}
.rotation99-org.neeka{
  background:#e9f6ec;
  color:#27783b;
}
.rotation99-contact{
  margin-top:8px;
  border-radius:11px;
  background:#f7f9f8;
  padding:8px 9px;
  font-size:9px;
  color:#536359;
  line-height:1.4;
}
.rotation99-session{
  border-top:1px solid #edf1ee;
  padding:10px 12px;
  cursor:pointer;
  display:grid;
  grid-template-columns:30px 1fr auto;
  gap:9px;
  align-items:center;
}
.rotation99-session-icon{
  width:30px;height:30px;
  border-radius:10px;
  background:#edf3ff;
  color:#4c6fb3;
  display:flex;align-items:center;justify-content:center;
}
.rotation99-session-icon svg{
  width:17px;height:17px;
  fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}
.rotation99-session-title{
  font-size:10px;
  font-weight:900;
}
.rotation99-session-meta{
  margin-top:3px;
  font-size:8px;
  color:var(--muted);
  line-height:1.4;
}
.rotation99-actions{
  border-top:1px solid #edf1ee;
  background:#fbfcfb;
  padding:9px 11px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}
.rotation99-actions .btn{
  min-height:36px;
  font-size:9px;
}
.rotation99-empty-session{
  border-top:1px solid #edf1ee;
  padding:11px 12px;
  font-size:9px;
  color:#7a857e;
}
.rotation99-questions{
  border-radius:12px;
  background:#f7f9f8;
  padding:9px 10px;
  font-size:9px;
  line-height:1.45;
  color:#536359;
  white-space:pre-wrap;
}
.rotation99-info{
  border:1px solid #dfe7f3;
  border-radius:16px;
  background:#f5f8fe;
  padding:11px 12px;
  margin-bottom:10px;
}
.rotation99-info strong{
  display:block;
  font-size:12px;
}
.rotation99-info .meta{
  margin-top:4px;
}

@media(max-width:370px){
  .task99-assignees{grid-template-columns:1fr}
  .rotation99-actions{grid-template-columns:1fr}
}


/* ===== NEEKA 0.9.9a UCT partner badge ===== */
.rotation99-org.r2p{
  background:#2f6fd3 !important;
  color:#fff !important;
  border-color:#2f6fd3 !important;
}


/* ===== NEEKA 0.9.9b partner rotation without registration ===== */
.rotation99-partner-route{
  border-top:1px solid #edf1ee;
  background:#f7f9ff;
  padding:11px 12px;
}
.rotation99-partner-route strong{
  display:block;
  font-size:10px;
  color:#4f62af;
}
.rotation99-partner-route span{
  display:block;
  margin-top:4px;
  font-size:9px;
  color:#68748f;
  line-height:1.4;
}
.rotation99-actions.single{
  grid-template-columns:1fr;
}


/* ===== NEEKA 0.9.9c UCT contact only for partners ===== */
.rotation99-contact-field.hidden-contact{
  display:none;
}


/* ===== NEEKA 0.10.0 registration wizard ===== */

.reg10-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.reg10-head h2{
  margin:0;
  font-size:21px;
}
.reg10-head .meta{
  margin-top:3px;
}
.reg10-sos{
  flex:0 0 auto;
  min-height:36px;
  border-radius:11px;
  padding:7px 9px;
  font-size:9px;
  font-weight:900;
}

.reg10-person{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:10px 12px;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:10px;
  box-shadow:0 4px 14px rgba(34,69,46,.035);
}
.reg10-avatar{
  width:38px;
  height:38px;
  border-radius:50%;
  background:linear-gradient(145deg,#edf3f0,#e0eae4);
  color:#376044;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:900;
  flex:0 0 38px;
}
.reg10-person-name{
  font-size:12px;
  font-weight:900;
}
.reg10-person-meta{
  margin-top:2px;
  font-size:8px;
  color:var(--muted);
}

.reg10-progress-card{
  border:1px solid #e2e9e4;
  border-radius:16px;
  background:#f8fbf9;
  padding:10px 11px;
  margin-bottom:10px;
}
.reg10-progress-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:9px;
  font-weight:900;
}
.reg10-progress-top span:last-child{
  color:#738079;
}
.reg10-bar{
  height:6px;
  border-radius:999px;
  background:#e2e9e4;
  overflow:hidden;
  margin-top:8px;
}
.reg10-bar span{
  display:block;
  height:100%;
  border-radius:999px;
  background:#45965a;
  transition:width .2s ease;
}
.reg10-dots{
  display:flex;
  justify-content:space-between;
  gap:4px;
  margin-top:9px;
}
.reg10-dot{
  flex:1;
  height:4px;
  border-radius:999px;
  background:#dce4df;
}
.reg10-dot.done,
.reg10-dot.active{
  background:#4c9b60;
}

.reg10-step{
  display:none;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  padding:14px 13px;
  box-shadow:0 7px 22px rgba(34,69,46,.05);
  margin-bottom:10px;
}
.reg10-step.active{
  display:block;
}
.reg10-step-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}
.reg10-step-num{
  width:31px;
  height:31px;
  border-radius:10px;
  background:#edf7ef;
  color:#2d7a41;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:900;
  flex:0 0 31px;
}
.reg10-step-title h3{
  margin:0;
  font-size:15px;
}
.reg10-step-title .small{
  margin-top:2px;
}

.reg10-household-summary{
  border-radius:13px;
  background:#f3f8f4;
  padding:10px;
  margin-top:9px;
  font-size:10px;
  line-height:1.45;
  color:#52655a;
}
.reg10-household-summary b{
  font-size:13px;
  color:#2f5039;
}

.reg10-programs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.reg10-program{
  position:relative;
  border:1px solid #e4eae6;
  border-radius:14px;
  background:#fafcfb;
  padding:11px 10px;
  min-height:70px;
  cursor:pointer;
}
.reg10-program input{
  position:absolute;
  top:10px;
  right:10px;
}
.reg10-program strong{
  display:block;
  font-size:11px;
}
.reg10-program span{
  display:block;
  margin-top:5px;
  padding-right:18px;
  font-size:8px;
  color:var(--muted);
  line-height:1.35;
}
.reg10-program:has(input:checked){
  border-color:#badbc3;
  background:#eef8f0;
}
.reg10-program:has(input:disabled){
  opacity:.72;
}

.reg10-subpanel{
  border:1px solid #e7ece8;
  border-radius:14px;
  background:#fafcfb;
  padding:11px;
  margin-top:10px;
}
.reg10-subpanel h4{
  margin:0 0 9px;
  font-size:11px;
}

.reg10-review-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.reg10-review-card{
  border:1px solid #e5ebe7;
  border-radius:13px;
  background:#fafcfb;
  padding:10px;
}
.reg10-review-label{
  font-size:8px;
  font-weight:900;
  color:#7c8981;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.reg10-review-value{
  margin-top:4px;
  font-size:10px;
  line-height:1.45;
  color:#33483a;
}
.reg10-review-programs{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-top:5px;
}
.reg10-review-chip{
  border-radius:999px;
  padding:5px 8px;
  background:#eaf5ed;
  color:#28783c;
  font-size:8px;
  font-weight:900;
}

.reg10-nav{
  position:sticky;
  bottom:0;
  z-index:20;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:8px;
  padding:9px 0 calc(8px + env(safe-area-inset-bottom));
  background:linear-gradient(to bottom,rgba(246,249,247,0),rgba(246,249,247,.97) 25%,rgba(246,249,247,1));
  margin-top:2px;
}
.reg10-nav .btn{
  min-height:46px;
  font-size:11px;
  font-weight:900;
}
.reg10-nav .reg10-next{
  min-width:0;
}
.reg10-nav.review{
  grid-template-columns:auto 1fr;
}
.reg10-finish{
  background:#2f8d47 !important;
  color:#fff !important;
  border-color:#2f8d47 !important;
}

.reg10-draft{
  text-align:center;
  font-size:8px;
  color:#78857d;
  margin:4px 0 2px;
}

.reg10-no-incidents{
  border:1px dashed #d8dfda;
  border-radius:14px;
  background:#fafcfb;
  padding:13px;
  text-align:center;
  font-size:9px;
  color:#6c7971;
}

.reg10-epca-notice{
  margin-top:10px;
}
.reg10-epca-notice:not(.hidden){
  border-radius:14px;
  padding:11px !important;
}
.reg10-epca-notice div:first-child{
  font-size:12px !important;
}
.reg10-epca-notice div:nth-child(2){
  font-size:13px !important;
}

@media(max-width:370px){
  .reg10-programs{
    grid-template-columns:1fr;
  }
}

/* ===== NEEKA 0.10.1 notifications + case manager ===== */
.role-case-manager{
  background:#eef4ff;
  color:#3f63a8;
}
.cm-hint{
  margin-top:8px;
  padding:9px 10px;
  border-radius:12px;
  background:#f3f6fb;
  color:#66758f;
  font-size:9px;
  line-height:1.4;
}


/* ===== NEEKA 0.10.2 coordinator beneficiary delete ===== */
.case-delete-zone{
  margin-top:12px;
  border:1px solid #f2d6d4;
  background:#fff8f7;
  border-radius:16px;
  padding:12px;
}
.case-delete-zone strong{
  display:block;
  color:#a63c36;
  font-size:11px;
}
.case-delete-zone .small{
  margin-top:5px;
  line-height:1.45;
}
.case-delete-zone .btn{
  width:100%;
  margin-top:9px;
}



#deleteBeneficiaryButton103{
  width:100%;
  min-height:44px;
  grid-column:1/-1;
  pointer-events:auto!important;
  opacity:1!important;
  cursor:pointer!important;
  background:#fde8e8!important;
  color:#b4232d!important;
}
.delete-overlay-103{
  position:fixed; inset:0; z-index:2147483000;
  background:rgba(17,27,21,.52);
  padding:16px; display:flex; align-items:flex-end; justify-content:center;
}
.delete-modal-103{
  width:min(100%,480px); background:#fff; border-radius:22px;
  padding:16px; box-shadow:0 18px 50px rgba(0,0,0,.25);
}
.delete-modal-103 h3{margin:0 0 7px;font-size:18px;color:#a53a35}
.delete-person-103{font-size:13px;font-weight:900;margin-bottom:10px}
.delete-warning-103,.delete-error-103{
  padding:11px;border-radius:13px;font-size:11px;line-height:1.45;margin-bottom:10px
}
.delete-warning-103{background:#fff5f3;border:1px solid #f0d7d3;color:#7e4a44}
.delete-error-103{background:#fff0ef;border:1px solid #efcbc7;color:#a23b34}
.delete-actions-103{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.delete-actions-103 .btn{min-height:45px}


/* ===== NEEKA 0.10.5 ===== */

.phone-copy-105{
  cursor:pointer;
  text-decoration:underline dotted;
  text-underline-offset:3px;
  font-weight:800;
  -webkit-tap-highlight-color:rgba(49,144,75,.14);
}

.epca-tracker-code-105{
  margin:0 0 10px;
  padding:12px;
  border:1px solid #e3def0;
  border-radius:17px;
  background:linear-gradient(145deg,#faf8ff,#f5f1ff);
  box-shadow:0 4px 14px rgba(83,65,125,.05);
}
.epca-tracker-head-105{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:9px;
}
.epca-tracker-head-105 span{
  padding:4px 7px;
  border-radius:999px;
  background:#ece6fb;
  color:#6853a4;
  font-size:8px;
  font-weight:900;
}
.epca-tracker-head-105 strong{
  font-size:13px;
}
.epca-tracker-row-105{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
}
.epca-tracker-row-105 input{
  width:100%;
  min-width:0;
  min-height:42px;
  border:1px solid #dcd5eb;
  border-radius:12px;
  background:#fff;
  padding:9px 11px;
  font-size:13px;
  font-weight:800;
}
.epca-tracker-row-105 .btn{
  min-height:42px;
}

/* Rotation decoration only; existing rotation logic/markup is preserved. */
.rotation-date-105{
  font-size:16px !important;
  font-weight:950 !important;
  letter-spacing:-.01em;
}
.rotation-org-105{
  display:inline-block;
  padding:5px 9px;
  border-radius:999px;
  font-size:13px !important;
  font-weight:950 !important;
}
.rotation-card-105{
  position:relative;
  overflow:hidden;
  border-radius:18px !important;
  border:1px solid #e0e7e2 !important;
  background:#fff !important;
  box-shadow:0 7px 20px rgba(35,70,48,.06) !important;
}
.rotation-card-105::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:#87968c;
}
.rotation-card-neeka-105::before{background:#31904b}
.rotation-card-r2p-105::before{background:#2f6fd3}
.rotation-card-acted-105::before{background:#8176b8}

/* Keep the existing bottom bar dimensions/classes; only improve the new labels. */
.quickbar-patched-105 .quick-icon-105{
  display:block;
  font-size:17px;
  line-height:1;
}
.quickbar-patched-105 .quick-label-105{
  display:block;
  margin-top:3px;
  font-size:8px;
  font-weight:850;
  line-height:1.1;
}

/* Forms page */
.work-forms-head-105{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.work-forms-head-105 h2{
  margin:0;
  font-size:21px;
}
.work-forms-grid-105{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}
.work-form-card-105{
  border:1px solid #e0e7e2;
  border-radius:17px;
  background:#fff;
  padding:11px;
  box-shadow:0 5px 16px rgba(34,69,46,.04);
}
.work-form-title-105 strong{
  display:block;
  font-size:11px;
  line-height:1.3;
}
.work-form-title-105 span{
  display:block;
  margin-top:3px;
  color:#7a867e;
  font-size:7px;
  font-weight:800;
}
.work-form-password-105{
  margin-top:9px;
  padding:8px;
  border-radius:11px;
  background:#f3f6f4;
}
.work-form-password-105>span{
  display:block;
  color:#7c8780;
  font-size:7px;
  font-weight:800;
}
.work-form-password-105>strong{
  display:block;
  margin-top:3px;
  font-size:10px;
  word-break:break-word;
}
.work-form-password-105 button{
  margin-top:6px;
  border:0;
  background:transparent;
  padding:0;
  color:#3e7c50;
  font-size:8px;
  font-weight:900;
}
.work-form-open-105{
  width:100%;
  min-height:38px;
  margin-top:9px;
  font-size:9px;
}
.work-form-empty-105{
  margin-top:9px;
  padding:10px;
  border-radius:10px;
  background:#f5f7f6;
  color:#879189;
  text-align:center;
  font-size:8px;
}
.work-form-settings-card-105{
  margin-bottom:10px;
  padding:12px;
  border:1px solid #e0e7e2;
  border-radius:17px;
  background:#fff;
}
.work-form-settings-card-105>strong{
  display:block;
  margin-bottom:10px;
  font-size:13px;
}
.work-form-settings-card-105 label{
  display:block;
  margin:9px 0 4px;
  color:#6f7c73;
  font-size:8px;
  font-weight:900;
}
.work-form-settings-card-105 input{
  width:100%;
}
.work-form-settings-card-105 .btn{
  width:100%;
  min-height:42px;
  margin-top:10px;
}

@media(max-width:370px){
  .epca-tracker-row-105{
    grid-template-columns:1fr;
  }
  .work-forms-grid-105{
    grid-template-columns:1fr;
  }
}


/* ===== NEEKA HOME REDESIGN V1 ===== */

:root{
  --home-neeka-green:#4fb62f;
  --home-neeka-green-deep:#2f8d28;
  --home-neeka-green-soft:#eef9eb;
  --home-unicef-blue:#3499ef;
  --home-unicef-blue-deep:#247fd0;
  --home-unicef-blue-soft:#edf7ff;
  --home-ink:#102b55;
  --home-muted:#667a98;
  --home-line:#e7edf3;
  --home-bg:#f7fafc;
}

#bottomNav,
.bottom-nav{
  display:none !important;
}

body.neeka-home-v1-active .topbar{
  display:none !important;
}

body.neeka-home-v1-active{
  background:var(--home-bg);
}

.neeka-home-v1-screen{
  padding:0 !important;
  margin:0 !important;
  max-width:none !important;
  background:var(--home-bg);
}

.neeka-home-shell-v1{
  width:100%;
  max-width:720px;
  margin:0 auto;
  padding:0 12px 24px;
  box-sizing:border-box;
  color:var(--home-ink);
}



.neeka-home-brand-row-v1{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:18px;
  padding:15px 24px 4px;
  min-height:92px;
}

.neeka-home-brand-box-v1{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  height:82px;
}



.neeka-home-landscape-v1{
  height:176px;
  margin-top:-4px;
  background:
    linear-gradient(180deg,rgba(255,255,255,0) 72%,var(--home-bg) 100%),
    url('/static/neeka-home-landscape-v1.png') center 48% / cover no-repeat;
}

.neeka-home-grid-v1{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:-18px;
  position:relative;
  z-index:2;
}

.neeka-home-card-v1{
  position:relative;
  display:grid;
  grid-template-columns:54px minmax(0,1fr) 18px;
  align-items:center;
  gap:12px;
  min-height:118px;
  width:100%;
  padding:16px 14px;
  border:1px solid rgba(28,56,92,.07);
  border-radius:20px;
  background:rgba(255,255,255,.97);
  box-shadow:
    0 10px 28px rgba(41,72,104,.08),
    0 1px 2px rgba(41,72,104,.03);
  color:var(--home-ink);
  text-align:left;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:box-shadow .14s ease, border-color .14s ease;
}

.neeka-home-card-v1:active{
  transform:none;
  box-shadow:0 10px 28px rgba(41,72,104,.08),0 1px 2px rgba(41,72,104,.03);
}

.neeka-home-card-v1.green{
  --tile-accent:var(--home-neeka-green);
  --tile-soft:var(--home-neeka-green-soft);
}

.neeka-home-card-v1.blue{
  --tile-accent:var(--home-unicef-blue);
  --tile-soft:var(--home-unicef-blue-soft);
}

.neeka-home-icon-v1{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  border-radius:16px;
  background:var(--tile-soft);
  color:var(--tile-accent);
}


.neeka-home-activity-dot-v1{
  position:absolute;
  top:-4px;
  right:-4px;
  width:13px;
  height:13px;
  border-radius:50%;
  background:var(--home-neeka-green);
  border:3px solid #fff;
  box-shadow:0 2px 7px rgba(16,43,85,.22);
}

.neeka-home-icon-v1 svg{
  width:34px;
  height:34px;
  display:block;
}

.neeka-home-label-v1{
  min-width:0;
  color:var(--home-ink);
  font-size:16px;
  font-weight:800;
  line-height:1.18;
  letter-spacing:-.012em;
}

.neeka-home-chevron-v1{
  color:var(--tile-accent,var(--home-neeka-green-deep));
  font-size:28px;
  line-height:1;
  font-weight:500;
  justify-self:end;
  transform:translateY(-1px);
}

.neeka-coordinator-v1{
  margin-top:12px;
  padding:12px;
  border:1px solid rgba(79,182,47,.18);
  border-radius:20px;
  background:linear-gradient(180deg,#f6fcf4,#f0f9ef);
}

.neeka-coordinator-title-v1{
  margin:0 2px 10px;
  color:var(--home-neeka-green-deep);
  font-size:12px;
  line-height:1.3;
  font-weight:800;
}

.neeka-coordinator-grid-v1{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.neeka-home-coord-card-v1{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 18px;
  gap:10px;
  align-items:center;
  min-height:72px;
  padding:12px;
  border:1px solid rgba(28,56,92,.06);
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 16px rgba(41,72,104,.05);
  color:var(--home-ink);
  text-align:left;
  cursor:pointer;
}

.neeka-home-coord-icon-v1{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:13px;
  background:var(--home-neeka-green-soft);
  color:var(--home-neeka-green-deep);
}

.neeka-home-coord-icon-v1 svg{
  width:25px;
  height:25px;
}

.neeka-home-coord-card-v1 > span:nth-child(2){
  font-size:14px;
  line-height:1.2;
  font-weight:800;
}

.neeka-sos-filter-v1{
  border-color:#e3a7a7 !important;
  color:#a02727 !important;
  background:#fff8f8 !important;
  font-weight:900 !important;
}

.neeka-sos-filter-v1.active{
  border-color:#c74747 !important;
  color:#fff !important;
  background:#c74747 !important;
}

@media (max-width:420px){
  .neeka-home-shell-v1{
    padding-left:9px;
    padding-right:9px;
  }

  .neeka-home-hero-v1{
    margin-left:-9px;
    margin-right:-9px;
  }

  

  .neeka-home-neeka-logo-v1,
  .neeka-home-unicef-logo-v1{
    width:118px;
    height:70px;
  }

  

  .neeka-home-grid-v1{
    gap:8px;
    margin-top:-15px;
  }

  .neeka-home-card-v1{
    grid-template-columns:46px minmax(0,1fr) 13px;
    gap:8px;
    min-height:108px;
    padding:13px 10px;
    border-radius:17px;
  }

  .neeka-home-icon-v1{
    width:46px;
    height:46px;
    border-radius:14px;
  }

  .neeka-home-icon-v1 svg{
    width:30px;
    height:30px;
  }

  .neeka-home-label-v1{
    font-size:14px;
  }

  .neeka-home-chevron-v1{
    font-size:23px;
  }
}

@media (max-width:340px){
  .neeka-home-card-v1{
    grid-template-columns:42px minmax(0,1fr);
  }

  .neeka-home-chevron-v1{
    display:none;
  }

  .neeka-home-label-v1{
    font-size:13px;
  }
}

/* ===== NEEKA HOME HEADER LOGO FIX ===== */
.neeka-home-brand-row-v1{
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:20px;
  min-height:96px;
  padding:10px 28px 2px;
}

.neeka-home-brand-box-v1{
  height:86px;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible;
}

.neeka-home-neeka-logo-v1,
.neeka-home-unicef-logo-v1{
  display:block;
  width:auto !important;
  height:76px !important;
  max-width:150px !important;
  max-height:76px !important;
  object-fit:contain;
  background:transparent !important;
  box-shadow:none !important;
}

@media (max-width:420px){
  .neeka-home-brand-row-v1{
    gap:14px;
    padding-left:18px;
    padding-right:18px;
    min-height:88px;
  }

  .neeka-home-brand-box-v1{
    height:78px;
  }

  .neeka-home-neeka-logo-v1,
  .neeka-home-unicef-logo-v1{
    height:68px !important;
    max-height:68px !important;
    max-width:132px !important;
  }
}

/* ===== NEEKA HOME V4 - APPROVED HERO ===== */

body.neeka-home-v1-active .neeka-home-brand-row-v1{
  display:none !important;
}

body.neeka-home-v1-active .neeka-home-shell-v1{
  padding-top:0 !important;
}

.neeka-home-hero-v1{
  position:relative;
  margin:0 -12px;
  overflow:visible;
  background:transparent !important;
}

.neeka-home-landscape-v1{
  position:relative;
  height:228px !important;
  margin:0 !important;
  border-radius:0 !important;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.03) 0%,
      rgba(255,255,255,0) 70%,
      rgba(245,250,253,.88) 100%
    ),
    url('/static/neeka-home-landscape-v1.png') center 46% / cover no-repeat !important;
}

.neeka-home-logo-overlay-v4{
  position:absolute;
  top:14px;
  z-index:5;
  width:126px;
  height:76px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.70);
  border-radius:18px;
  background:rgba(255,255,255,.76);
  box-shadow:0 6px 18px rgba(35,74,108,.09);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
}

.neeka-home-logo-left-v4{ left:18px; }
.neeka-home-logo-right-v4{ right:18px; }

.neeka-home-logo-overlay-v4 img{
  display:block;
  width:auto;
  height:auto;
  max-width:108px;
  max-height:61px;
  object-fit:contain;
}

.neeka-home-greeting-v4{
  position:relative;
  z-index:6;
  margin:-14px 3px 12px;
  padding:15px 18px 16px;
  border:1px solid rgba(24,50,83,.07);
  border-radius:20px;
  background:rgba(255,255,255,.97);
  box-shadow:0 8px 22px rgba(38,68,99,.07);
}

.neeka-home-greeting-v4 h2{
  margin:0;
  color:var(--home-ink);
  font-size:21px;
  line-height:1.18;
  font-weight:850;
  letter-spacing:-.018em;
}

.neeka-home-greeting-v4 div{
  margin-top:5px;
  color:var(--home-muted);
  font-size:14px;
  line-height:1.35;
  font-weight:500;
}

.neeka-home-grid-v1{
  margin-top:0 !important;
}

@media (max-width:420px){
  .neeka-home-landscape-v1{
    height:208px !important;
    background-position:center 48% !important;
  }

  .neeka-home-logo-overlay-v4{
    top:12px;
    width:114px;
    height:70px;
    padding:6px 8px;
    border-radius:16px;
  }

  .neeka-home-logo-left-v4{ left:14px; }
  .neeka-home-logo-right-v4{ right:14px; }

  .neeka-home-logo-overlay-v4 img{
    max-width:98px;
    max-height:55px;
  }

  .neeka-home-greeting-v4{
    margin:-12px 2px 11px;
    padding:14px 16px 15px;
  }

  .neeka-home-greeting-v4 h2{ font-size:20px; }
  .neeka-home-greeting-v4 div{ font-size:13px; }
}

/* ===== NEEKA Humanitarian V3 — person-first workflow ===== */
.hum3-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:4px 0 14px}.hum3-head h2{margin:0 0 4px}.hum3-alert{width:100%;border:1px solid #f0c46f;background:#fff8e7;border-radius:16px;padding:13px 14px;margin:0 0 12px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#6f4b09}.hum3-alert b{font-size:15px}.hum3-alert span{font-size:12px;text-align:right}.hum3-main-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.hum3-main-card{border:1px solid #dce9e4;background:#fff;border-radius:18px;padding:14px 13px;text-align:left;min-height:145px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 5px 16px rgba(25,74,57,.06);color:#173d32}.hum3-main-card.orange{border-color:#f0dfcb;background:#fffaf4}.hum3-main-card.blue{border-color:#d8e7f4;background:#f8fbff}.hum3-main-card.purple{border-color:#e3ddf2;background:#fbf9ff}.hum3-main-card .hicon,.hum3-start-card .hicon,.hum3-choice-btn .hicon,.hum3-prepare .hicon{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;margin-bottom:8px}.hum3-main-card .hicon svg,.hum3-start-card .hicon svg,.hum3-choice-btn .hicon svg,.hum3-prepare .hicon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hum3-main-card strong{font-size:15px}.hum3-big{font-size:28px;font-weight:850;line-height:1;margin:9px 0 5px}.hum3-main-card small{font-size:11px;line-height:1.3;color:#6b7d77}.hum3-search{margin-bottom:10px}.hum3-tabs{display:flex;gap:6px;overflow:auto;padding:1px 0 9px;margin-bottom:2px;scrollbar-width:none}.hum3-tabs::-webkit-scrollbar{display:none}.hum3-tab{white-space:nowrap;border:1px solid #dce5e1;background:#fff;border-radius:999px;padding:8px 11px;display:flex;gap:7px;align-items:center;font-size:13px;color:#51615c}.hum3-tab b{display:inline-flex;min-width:20px;height:20px;padding:0 5px;align-items:center;justify-content:center;border-radius:999px;background:#edf3f1;font-size:11px}.hum3-tab.active{background:#1f7659;border-color:#1f7659;color:#fff}.hum3-tab.active b{background:rgba(255,255,255,.2)}.hum3-list{display:flex;flex-direction:column;gap:9px}.hum3-person-card{border:1px solid #e3e9e6;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 3px 12px rgba(25,55,45,.035)}.hum3-person-main{padding:12px;display:flex;gap:10px;align-items:flex-start;cursor:pointer}.hum3-person-info{min-width:0;flex:1}.hum3-person-name{font-weight:760;font-size:15px;line-height:1.25;color:#1f2f2a}.hum3-person-meta{font-size:12px;color:#75827e;line-height:1.35;margin-top:3px}.hum3-address{font-size:12px;color:#405d53;line-height:1.35;margin-top:5px}.hum3-entitlements{font-size:12px;font-weight:700;color:#23654f;margin-top:6px}.hum3-assignment{font-size:11px;color:#3b6f9e;background:#eef6fd;display:inline-block;padding:4px 7px;border-radius:8px;margin-top:6px}.hum3-inline-note{padding:0 12px 9px}.hum3-actions{display:flex;flex-wrap:wrap;gap:7px;padding:9px 11px 11px;border-top:1px solid #edf1ef;background:#fbfcfc}.hum3-actions .btn{flex:1;min-width:110px}.hum3-start-card{border:1px dashed #bfcfc8;background:#f9fcfb;border-radius:17px;padding:14px;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;margin-bottom:14px}.hum3-start-card.blue{border-color:#bdd4e8;background:#f7fbff}.hum3-start-card .btn{grid-column:1/-1;width:100%}.hum3-route-card{border:1px solid #dce6e2;background:#fff;border-radius:16px;padding:12px;margin-bottom:9px;cursor:pointer}.hum3-route-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.hum3-route-mini{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px;font-size:12px;color:#60716b}.hum3-route-mini span{background:#f3f7f5;padding:5px 7px;border-radius:8px}.hum3-route-summary{border:1px solid #cfe2ef;background:#f7fbfe;border-radius:16px;padding:13px;display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:14px}.hum3-person-hero{display:flex;align-items:center;gap:12px;margin:5px 0 13px}.hum-avatar.large{width:48px;height:48px;min-width:48px;font-size:15px}.hum3-person-hero h2{margin:0 0 4px;font-size:20px}.hum3-summary-strip{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-bottom:12px}.hum3-summary-strip>div{background:#f5f8f7;border-radius:12px;padding:9px 8px;min-width:0}.hum3-summary-strip span{display:block;color:#7a8783;font-size:10px;text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px}.hum3-summary-strip b{display:block;font-size:12px;line-height:1.25;overflow-wrap:anywhere}.hum3-choice{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:9px}.hum3-choice-btn,.hum3-disabled-choice{border:1px solid #d8e4df;background:#f9fcfb;border-radius:15px;padding:13px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;color:#245545}.hum3-choice-btn.blue{border-color:#cfdfee;background:#f7fbff;color:#315d86}.hum3-choice-btn b,.hum3-disabled-choice b{font-size:14px}.hum3-choice-btn small,.hum3-disabled-choice small{font-size:11px;line-height:1.3;color:#73817c;margin-top:4px}.hum3-disabled-choice{opacity:.68;justify-content:center}.hum3-assigned-box{border:1px solid #cfe0ee;background:#f5faff;border-radius:13px;padding:11px}.hum3-session-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:4px 0 10px}.hum3-session-hero h2{margin:2px 0 4px;font-size:20px}.hum3-kicker{font-size:10px;font-weight:800;letter-spacing:.08em;color:#5e7b70}.hum3-session-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:10px}.hum3-session-stats>div{background:#f3f7f5;border-radius:13px;padding:10px 7px;text-align:center}.hum3-session-stats b{display:block;font-size:20px}.hum3-session-stats span{font-size:10px;color:#71817b}.hum3-prepare{width:100%;border:1px solid #cfe0da;background:#f5fbf8;border-radius:15px;padding:12px 13px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-align:left;margin-bottom:11px;color:#245b49}.hum3-prepare.attention{border-color:#efcf8d;background:#fff9ec;color:#76520c}.hum3-prepare .hicon{margin:0}.hum3-prepare span:nth-child(2){display:flex;flex-direction:column}.hum3-prepare small{font-size:11px;color:#75837e;margin-top:3px}.hum3-issued{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #edf1ef;padding:9px 0}.hum3-issued:last-child{border-bottom:0}.hum3-stock-plan-list{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.hum3-stock-plan{border:1px solid #e0e8e4;background:#fff;border-radius:16px;padding:12px}.hum3-stock-title{display:flex;justify-content:space-between;gap:10px}.hum3-stock-title span{font-size:12px;color:#75817d}.hum3-stock-facts{display:grid;grid-template-columns:1fr 1fr;gap:5px 8px;margin:9px 0;font-size:11px;color:#67766f}.hum3-stock-facts span{background:#f5f8f7;padding:6px;border-radius:8px}.hum3-shortage,.hum3-warning{border:1px solid #efc9c4;background:#fff5f3;color:#85483f;border-radius:12px;padding:9px 10px;font-size:12px}.hum3-warning{margin:0 0 12px}.hum3-warning b{display:block;margin-bottom:5px}.hum3-warning .btn{margin-top:9px}.hum3-recommend{display:flex;justify-content:space-between;gap:10px;border:1px solid #d6e5df;background:#f7fbf9;border-radius:13px;padding:10px 11px;margin-bottom:10px;font-size:12px}.hum3-recommend span{text-align:right;color:#24624d;font-weight:700}
@media(max-width:420px){.hum3-main-card{min-height:137px;padding:12px}.hum3-summary-strip{grid-template-columns:1fr}.hum3-summary-strip>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.hum3-summary-strip span{margin:0}.hum3-choice{grid-template-columns:1fr}.hum3-route-summary{align-items:flex-start;flex-direction:column}.hum3-route-summary .btn{width:100%}.hum3-stock-facts{grid-template-columns:1fr 1fr}.hum3-actions .btn{min-width:0}.hum3-person-main{padding:11px}.hum3-person-name{font-size:14px}}


/* ===== NEEKA Humanitarian V5: end-of-day closing ===== */
.hum5-day-close{width:100%;border:1px solid #dbe5df;background:#fff;border-radius:18px;padding:14px 16px;margin:12px 0 14px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;text-align:left;color:inherit;box-shadow:0 3px 12px rgba(24,55,40,.05)}
.hum5-day-close.attention{border-color:#f0c77a;background:#fffaf0}.hum5-day-close .hicon{width:38px;height:38px;border-radius:12px;background:#eef7f1;display:grid;place-items:center}.hum5-day-close b{display:block;font-size:15px}.hum5-day-close small{display:block;color:#6a746f;margin-top:3px}
.hum5-day-list{display:grid;gap:12px}.hum5-close-card{border:1px solid #dfe7e2;background:#fff;border-radius:18px;padding:14px;box-shadow:0 3px 12px rgba(24,55,40,.04)}.hum5-close-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.hum5-close-top>div{display:grid;gap:3px}.hum5-type{font-size:11px;font-weight:800;letter-spacing:.08em;color:#5b6b63}.hum5-close-card details{border-top:1px solid #edf1ef;border-bottom:1px solid #edf1ef;padding:8px 0;margin:8px 0 12px}.hum5-close-card summary{font-weight:700;cursor:pointer}.hum5-stock-summary{line-height:1.6;margin-top:8px}
.hum5-blocker{border:1px solid #f0c77a;background:#fff8e8;border-radius:14px;padding:12px;display:grid;gap:8px}.hum5-blocker .btn{width:100%}.hum5-waiting{border-radius:12px;background:#f2f5f4;padding:12px;text-align:center;font-weight:700;color:#647069}.hum5-returned{border:1px solid #efb0aa;background:#fff2f1;border-radius:14px;padding:12px;margin:10px 0;display:grid;gap:4px}.hum5-done{display:flex;gap:12px;align-items:center;border:1px solid #b9ddc8;background:#f1fbf5;border-radius:18px;padding:16px}.hum5-done .hicon{width:38px;height:38px;border-radius:50%;background:#d9f2e2;display:grid;place-items:center;font-weight:900}.hum5-info{margin-top:14px;border-radius:16px;background:#f3f7f5;padding:13px 14px;line-height:1.55}.hum5-info.compact{margin:10px 0}.hum5-info b{display:block;margin-bottom:5px}.hum5-final-summary{border:1px solid #dfe7e2;background:#fff;border-radius:18px;padding:14px;margin-bottom:12px}.hum5-final-summary h3{margin:0 0 10px}.hum5-final-row{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #eef2f0;padding:9px 0;font-size:13px}.hum5-final-row:first-of-type{border-top:0}.hum5-final-row>span:last-child{text-align:right;color:#65716b}
@media(max-width:520px){.hum5-close-top{align-items:flex-start}.hum5-final-row{display:grid;gap:3px}.hum5-final-row>span:last-child{text-align:left}.hum5-day-close{grid-template-columns:auto 1fr auto}}


/* NEEKA Humanitarian V6 — coordinator day review */
.hum6-coordinator-block{margin-top:18px;padding:16px;border:1px solid var(--line,#dde5e2);border-radius:18px;background:var(--card,#fff)}
.hum6-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.hum6-title h3{margin:3px 0 2px}.hum6-kicker{font-size:10px;font-weight:800;letter-spacing:.08em;opacity:.62}.hum6-total{min-width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:800;background:#f1f4f3}.hum6-total.wait{background:#fff1cf}.hum6-total.ok{background:#e9f7ef}
.hum6-metrics,.hum6-review-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}.hum6-metrics>div,.hum6-review-summary>div{padding:10px 6px;border-radius:13px;background:rgba(38,112,93,.06);text-align:center}.hum6-metrics span,.hum6-review-summary span{display:block;font-size:20px;font-weight:800}.hum6-metrics small,.hum6-review-summary small{display:block;font-size:10px;line-height:1.2;opacity:.68;margin-top:2px}
.hum6-review-list{display:flex;flex-direction:column;gap:8px}.hum6-review-mini{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:11px;border:1px solid var(--line,#e1e7e5);border-radius:14px;background:rgba(255,255,255,.72)}.hum6-mini-right{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.hum6-mini-right .btn{padding:7px 10px;font-size:12px}.hum6-clear{padding:12px;border-radius:13px;background:#edf8f1;font-size:13px}.hum6-movements{margin-top:12px;padding-top:12px;border-top:1px solid var(--line,#e2e7e5);font-size:13px}.hum6-movement-row{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px 0;border-bottom:1px dashed var(--line,#e2e7e5)}.btn.mini{padding:5px 9px;min-width:32px}.hum6-stock-check{display:grid;grid-template-columns:1.4fr repeat(3,.8fr);gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line,#e4e8e7);font-size:12px}.hum6-destination{margin-top:12px;padding:11px;border-radius:12px;background:rgba(38,112,93,.07);font-weight:700}.hum6-files{display:flex;flex-wrap:wrap;gap:7px}.hum6-alertbox{padding:11px;border-radius:12px;background:#fff1e9}.hum6-review-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media(max-width:520px){.hum6-metrics,.hum6-review-summary{grid-template-columns:repeat(2,1fr)}.hum6-review-mini{align-items:flex-start;flex-direction:column}.hum6-mini-right{justify-content:flex-start;width:100%}.hum6-stock-check{grid-template-columns:1fr 1fr}.hum6-stock-check>b{grid-column:1/-1}.hum6-review-actions{grid-template-columns:1fr}.hum6-review-actions .btn{width:100%}}

/* ===== Humanitarian V8: simpler, more informative existing navigation ===== */
.hum3-main-card.attention{border-color:#efcf8d;background:#fff9ec}.hum3-main-card.attention .hum3-big{color:#8a5b00}

.hum8-team{margin-top:10px;border-top:1px solid var(--line,#e2e7e5);padding-top:9px}.hum8-team summary{display:flex;justify-content:space-between;gap:8px;cursor:pointer;font-weight:750;font-size:13px}.hum8-team .inside{padding-top:7px}.hum8-team-row{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px solid #edf1ef;font-size:12px}.hum8-team-row:last-child{border-bottom:0}.hum8-team-row>span{text-align:right;color:#68766f;white-space:nowrap}


/* ===== NEEKA PRODUCT SYSTEM V1 — unified internal design ===== */
body:not(.neeka-home-v1-active){
  --neeka-surface:#ffffff;
  --neeka-surface-soft:#f7faf8;
  --neeka-ink:#18251e;
  --neeka-muted:#6e7d74;
  --neeka-line:#e1e9e3;
  --neeka-green:#2f9e44;
  --neeka-green-dark:#277f38;
  --neeka-green-soft:#eaf7ed;
  --neeka-blue:#2878c8;
  --neeka-blue-soft:#edf5ff;
  --neeka-red:#c93842;
  --neeka-red-soft:#fff0f1;
  --neeka-amber:#a96d00;
  --neeka-amber-soft:#fff7df;
}
body:not(.neeka-home-v1-active) #app{max-width:780px}
body:not(.neeka-home-v1-active) main#screen{padding:15px 15px 32px}
body:not(.neeka-home-v1-active) .topbar{
  min-height:60px;
  padding:8px 14px;
  box-shadow:0 1px 0 rgba(24,37,30,.05);
}
body:not(.neeka-home-v1-active) .brand-logo{width:82px;height:39px}
body:not(.neeka-home-v1-active) .btn{
  min-height:42px;
  padding:10px 14px;
  border:1px solid #e2e9e4;
  border-radius:13px;
  background:#f4f7f5;
  color:var(--neeka-ink);
  box-shadow:none;
  transition:transform .12s ease,background .12s ease,border-color .12s ease;
}
body:not(.neeka-home-v1-active) .btn:active{transform:scale(.985)}
button:disabled,
.btn:disabled{
  opacity:.48;
  cursor:not-allowed;
  box-shadow:none!important;
  transform:none!important;
}
input:disabled,
select:disabled,
textarea:disabled{
  opacity:1;
  cursor:not-allowed;
  background:#f1f4f2;
  color:#727d76;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(40,120,200,.32);
  outline-offset:2px;
}
body:not(.neeka-home-v1-active) .btn.primary{
  border-color:var(--neeka-green);
  background:var(--neeka-green);
  color:#fff;
}
body:not(.neeka-home-v1-active) .btn.primary:hover{background:var(--neeka-green-dark)}
body:not(.neeka-home-v1-active) .btn.danger{border-color:#f5dadd;background:var(--neeka-red-soft);color:#a92731}
body:not(.neeka-home-v1-active) .btn.success{border-color:#d6ecd9;background:var(--neeka-green-soft);color:#237a35}
body:not(.neeka-home-v1-active) .back{
  min-height:36px;
  margin:0 0 14px;
  padding:7px 11px;
  border-color:transparent;
  background:transparent;
  color:#607067;
  font-size:13px;
}
body:not(.neeka-home-v1-active) .back:hover{background:#edf3ef}
body:not(.neeka-home-v1-active) .section-title,
body:not(.neeka-home-v1-active) .benef-page-head,
body:not(.neeka-home-v1-active) .task99-head,
body:not(.neeka-home-v1-active) .pss-head,
body:not(.neeka-home-v1-active) .rotation99-head,
body:not(.neeka-home-v1-active) .hum3-head,
body:not(.neeka-home-v1-active) .work-forms-head-105{
  margin:0 0 15px;
  padding:0 1px;
  align-items:flex-start;
}
body:not(.neeka-home-v1-active) .section-title h2,
body:not(.neeka-home-v1-active) .benef-page-head h2,
body:not(.neeka-home-v1-active) .task99-head h2,
body:not(.neeka-home-v1-active) .pss-head h2,
body:not(.neeka-home-v1-active) .rotation99-head h2,
body:not(.neeka-home-v1-active) .hum3-head h2,
body:not(.neeka-home-v1-active) .work-forms-head-105 h2{
  margin:0;
  color:var(--neeka-ink);
  font-size:23px;
  line-height:1.18;
  letter-spacing:-.025em;
}
body:not(.neeka-home-v1-active) .meta{color:var(--neeka-muted)}
body:not(.neeka-home-v1-active) .panel,
body:not(.neeka-home-v1-active) .card{
  border:1px solid var(--neeka-line);
  border-radius:17px;
  background:var(--neeka-surface);
  box-shadow:0 5px 18px rgba(27,55,37,.045);
}
body:not(.neeka-home-v1-active) .panel{padding:14px}
body:not(.neeka-home-v1-active) .card{padding:13px 14px}
body:not(.neeka-home-v1-active) .list{gap:8px}
body:not(.neeka-home-v1-active) .input,
body:not(.neeka-home-v1-active) select,
body:not(.neeka-home-v1-active) textarea{
  min-height:46px;
  border:1px solid #dce5df;
  border-radius:13px;
  background:#fff;
  box-shadow:0 1px 0 rgba(22,43,30,.02);
}
body:not(.neeka-home-v1-active) textarea{min-height:96px}
body:not(.neeka-home-v1-active) .field label{color:#627269;font-size:12px;letter-spacing:.01em}
body:not(.neeka-home-v1-active) .search{
  gap:8px;
  padding:7px;
  border:1px solid var(--neeka-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 4px 14px rgba(24,50,33,.035);
}
body:not(.neeka-home-v1-active) .search .input{border:0;background:#f7f9f8;min-height:42px}
body:not(.neeka-home-v1-active) .search .btn{min-height:42px}
body:not(.neeka-home-v1-active) .tabs{
  gap:4px;
  padding:4px;
  border:1px solid var(--neeka-line);
  border-radius:15px;
  background:#eef3f0;
}
body:not(.neeka-home-v1-active) .tabs .btn{border:0;background:transparent;flex:1}
body:not(.neeka-home-v1-active) .tabs .btn.primary{background:#fff;color:#237a35;box-shadow:0 2px 8px rgba(25,58,38,.08)}
body:not(.neeka-home-v1-active) details>summary{list-style:none}
body:not(.neeka-home-v1-active) details>summary::-webkit-details-marker{display:none}
body:not(.neeka-home-v1-active) .empty{padding:24px 12px;color:#829087}
body:not(.neeka-home-v1-active) .empty.compact{padding:12px}

/* Beneficiaries */
body:not(.neeka-home-v1-active) .benef-toolbar{display:flex;gap:8px;align-items:center}
body:not(.neeka-home-v1-active) .benef-search-wrap{flex:1}
body:not(.neeka-home-v1-active) .filter-square{flex:0 0 46px;width:46px;height:46px;border-radius:14px}
body:not(.neeka-home-v1-active) .filter-square.sos-shortcut-v1{color:#b92e39;background:#fff4f5;border-color:#f0d8db}
body:not(.neeka-home-v1-active) .filter-square.sos-shortcut-v1 svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
body:not(.neeka-home-v1-active) .benef-summary{gap:7px;margin:10px 0 16px}
body:not(.neeka-home-v1-active) .summary-chip{border-radius:14px;border:1px solid var(--neeka-line);background:#fff;box-shadow:none}
body:not(.neeka-home-v1-active) .benef-card{border-radius:17px;border-color:var(--neeka-line);box-shadow:0 4px 14px rgba(24,50,33,.04)}
body:not(.neeka-home-v1-active) .benef-card-actions{border-top-color:#eef2ef;background:#fbfcfb}
body:not(.neeka-home-v1-active) .benef-section-head{margin-top:17px}

/* Beneficiary card: one next action, secondary controls collapsed */
.case-next-v1{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 12px 12px;
  padding:13px;
  border:1px solid #d7eadb;
  border-radius:15px;
  background:linear-gradient(145deg,#f1faf3,#ffffff);
}
.case-next-v1>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.case-next-v1 span:first-child{font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:#5d7464}
.case-next-v1 b{font-size:14px;line-height:1.3;color:#203328}
.case-next-v1 small{font-size:11px;line-height:1.35;color:#718078}
.case-next-v1 .btn{flex:0 0 auto;min-height:40px}
.case-next-v1.attention{border-color:#eedfb3;background:linear-gradient(145deg,#fff9e8,#fff)}
.case-next-v1.human{border-color:#d7e5f2;background:linear-gradient(145deg,#f3f8fd,#fff)}
.case-next-v1.pss{border-color:#e1d8f5;background:linear-gradient(145deg,#f7f3ff,#fff)}
.case-next-v1.done{border-color:#e4eae6;background:#f8faf9}
.case-next-check-v1{display:flex!important;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:#e9f6ec;color:#2b8b3e;font-size:18px!important}
.case-secondary-v1{margin:0 12px 12px;border-top:1px solid #edf1ee}
.case-secondary-v1>summary{display:flex;align-items:center;justify-content:space-between;padding:11px 0 2px;color:#68786f;font-size:12px;font-weight:750;cursor:pointer}
.case-secondary-v1[open]>summary span{transform:rotate(90deg)}
.case-secondary-v1 .case-primary-actions{padding-top:8px}
body:not(.neeka-home-v1-active) .case-hero{border-radius:20px;border:1px solid var(--neeka-line);box-shadow:0 7px 22px rgba(25,55,37,.055)}
body:not(.neeka-home-v1-active) .case-info-panel{border-color:var(--neeka-line);box-shadow:none}
body:not(.neeka-home-v1-active) .case-service{border-radius:12px}

/* Team */
.team-role-summary-v1{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 14px}
.team-role-summary-v1>div{padding:11px 8px;border:1px solid var(--neeka-line);border-radius:14px;background:#fff;text-align:center}
.team-role-summary-v1 strong{display:block;font-size:20px;color:#25372c}
.team-role-summary-v1 span{display:block;margin-top:2px;font-size:10px;color:#718078;line-height:1.2}
.authority-phone-v1{color:#2878c8;text-decoration:none;font-weight:700}

/* Coordinator control */
.coordinator-control-link-v1{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 0;padding:12px 14px;border:1px solid #dce8df;border-radius:15px;background:#f8fbf9;color:#274132;text-align:left}
.coordinator-control-link-v1 span:first-child{display:flex;flex-direction:column;gap:2px}
.coordinator-control-link-v1 b{font-size:13px}
.coordinator-control-link-v1 small{font-size:11px;color:#718078}
.control-head-v1{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 14px}
.control-head-v1 h2{margin:0;font-size:24px;letter-spacing:-.025em}
.control-attention-v1{padding:14px 15px;margin-bottom:12px;border:1px solid #dce9df;border-radius:17px;background:#f7faf8}
.control-attention-v1>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.control-attention-v1 span{font-size:12px;font-weight:800;color:#617168}
.control-attention-v1 strong{font-size:26px;color:#2e7f3e}
.control-attention-v1 small{display:block;margin-top:2px;color:#718078}
.control-attention-v1.has-attention{border-color:#f0d9af;background:#fff8e8}
.control-attention-v1.has-attention strong{color:#a66700}
.control-component-grid-v1{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}
.control-component-grid-v1 button{position:relative;display:grid;grid-template-columns:32px 1fr auto;grid-template-rows:auto auto;column-gap:8px;align-items:center;padding:12px;border:1px solid var(--neeka-line);border-radius:16px;background:#fff;text-align:left;color:var(--neeka-ink)}
.control-component-icon-v1{grid-row:1/3;display:flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:10px;background:#eef7f0;color:#2f8d40}
.control-component-icon-v1 svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.control-component-grid-v1 b{font-size:12px}
.control-component-grid-v1 strong{grid-column:3;grid-row:1/3;font-size:24px}
.control-component-grid-v1 small{grid-column:2;font-size:10px;color:#748179}
.control-section-v1{margin:0 0 13px;padding:14px;border:1px solid var(--neeka-line);border-radius:18px;background:#fff;box-shadow:0 5px 18px rgba(27,55,37,.04)}
.control-section-head-v1{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.control-section-head-v1 h3{margin:0;font-size:17px}
.control-section-head-v1 .btn{min-height:36px;padding:7px 10px;font-size:11px}
.control-section-v1 .panel{box-shadow:none;margin-bottom:8px}
.control-human-metrics-v1{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:10px}
.control-metric-v1{padding:10px 8px;border-radius:13px;background:#f5f8f6;text-align:center}
.control-metric-v1 strong{display:block;font-size:20px}
.control-metric-v1 span{display:block;margin-top:2px;font-size:9px;color:#718078;line-height:1.2}
.control-metric-v1.attention{background:#fff4dd;color:#9c6400}
.control-metric-v1.ok{background:#edf8ef;color:#287c38}
.control-people-list-v1{display:flex;flex-direction:column;gap:6px}
.control-person-v1{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:1px solid #edf1ee;border-radius:12px;background:#fbfcfb}
.control-person-v1 b{display:block;font-size:12px}
.control-person-v1 small{display:block;margin-top:2px;font-size:10px;color:#77847c}
.control-person-side-v1{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}

/* Existing component dashboards embedded in Control should look like content, not nested dashboards. */
.control-section-v1 .coordinator-progress-panel,
.control-section-v1 .coord-progress-panel,
.control-section-v1 [class*="coord-progress"]{margin-top:0!important}

/* Forms and reports */
body:not(.neeka-home-v1-active) .stats-grid{gap:8px;margin-bottom:14px}
body:not(.neeka-home-v1-active) .stats-grid .panel{padding:12px;background:#fff}
body:not(.neeka-home-v1-active) .stats-grid .stat{font-size:25px}
body:not(.neeka-home-v1-active) .work-form-card-105{border-radius:18px!important;box-shadow:0 5px 18px rgba(27,55,37,.045)!important}
body:not(.neeka-home-v1-active) .work-form-open-105{min-height:44px!important}

@media(max-width:520px){
  .team-role-summary-v1{grid-template-columns:1fr 1fr}
  .control-human-metrics-v1{grid-template-columns:1fr 1fr 1fr}
  .case-next-v1{align-items:flex-start;flex-direction:column}
  .case-next-v1 .btn{width:100%}
}


/* ===== NEEKA FRONTEND RECOVERY V8 — internal workspace ===== */
body.neeka-internal-workspace-v8{background:#f4f8f5;}
body.neeka-internal-workspace-v8 #app{position:relative;min-height:100vh;isolation:isolate;}
body.neeka-internal-workspace-v8 #app::before{content:"";position:fixed;z-index:-2;left:0;right:0;bottom:58px;height:min(38vh,340px);pointer-events:none;opacity:.46;background-repeat:no-repeat;background-position:center bottom;background-size:cover;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 340' preserveAspectRatio='none'%3E%3Cpath d='M0 277 L105 230 190 258 315 184 407 231 527 137 610 202 722 102 806 176 914 124 1034 208 1121 155 1229 221 1341 174 1440 215' fill='none' stroke='%2386b898' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M0 318 L132 275 260 306 393 236 501 282 629 207 753 271 886 198 1020 258 1150 213 1265 267 1374 228 1440 247' fill='none' stroke='%23b5d4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
body.neeka-internal-workspace-v8 #screen{position:relative;z-index:1;padding-top:12px;padding-bottom:96px;}
body.neeka-internal-workspace-v8 input,body.neeka-internal-workspace-v8 select,body.neeka-internal-workspace-v8 textarea{background:rgba(255,255,255,.96);}
body.neeka-internal-workspace-v8 .card,body.neeka-internal-workspace-v8 .case-card,body.neeka-internal-workspace-v8 .task-card,body.neeka-internal-workspace-v8 .control-section-v1{box-shadow:0 10px 30px rgba(37,73,49,.07);}
@media(max-width:640px){body.neeka-internal-workspace-v8 #app::before{height:250px;opacity:.38;background-size:900px 250px;}}
/* ===== /NEEKA FRONTEND RECOVERY V8 ===== */

/* ===== NEEKA INTERNAL COLOR HEADERS V9 ===== */
body.neeka-internal-workspace-v8 .benef-page-head,
body.neeka-internal-workspace-v8 .calls-head,
body.neeka-internal-workspace-v8 .pss-head,
body.neeka-internal-workspace-v8 .task99-head,
body.neeka-internal-workspace-v8 .rotation99-head,
body.neeka-internal-workspace-v8 .work-forms-head-105,
body.neeka-internal-workspace-v8 .control-head-v1,
body.neeka-internal-workspace-v8 .hum3-head,
body.neeka-internal-workspace-v8 .section-title{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
  padding:17px 18px;
  border-radius:21px;
  border:1px solid #d5e7da;
  background:linear-gradient(135deg,#e8f6eb 0%,#f9fcfa 62%,#fff 100%);
  box-shadow:0 7px 22px rgba(33,67,45,.075);
}
body.neeka-internal-workspace-v8 .benef-page-head::after,
body.neeka-internal-workspace-v8 .calls-head::after,
body.neeka-internal-workspace-v8 .pss-head::after,
body.neeka-internal-workspace-v8 .task99-head::after,
body.neeka-internal-workspace-v8 .rotation99-head::after,
body.neeka-internal-workspace-v8 .work-forms-head-105::after,
body.neeka-internal-workspace-v8 .control-head-v1::after,
body.neeka-internal-workspace-v8 .hum3-head::after,
body.neeka-internal-workspace-v8 .section-title::after{
  content:"";
  position:absolute;
  right:-34px;
  top:-46px;
  width:132px;
  height:132px;
  border-radius:50%;
  background:rgba(72,157,89,.11);
  pointer-events:none;
}
body.neeka-internal-workspace-v8 .benef-page-head h2,
body.neeka-internal-workspace-v8 .calls-head h2,
body.neeka-internal-workspace-v8 .pss-head h2,
body.neeka-internal-workspace-v8 .task99-head h2,
body.neeka-internal-workspace-v8 .rotation99-head h2,
body.neeka-internal-workspace-v8 .work-forms-head-105 h2,
body.neeka-internal-workspace-v8 .control-head-v1 h2,
body.neeka-internal-workspace-v8 .hum3-head h2,
body.neeka-internal-workspace-v8 .section-title h2{
  position:relative;
  z-index:1;
  margin:0;
  font-size:23px;
  line-height:1.08;
  letter-spacing:-.028em;
}
body.neeka-internal-workspace-v8 .benef-page-head .meta,
body.neeka-internal-workspace-v8 .calls-head .meta,
body.neeka-internal-workspace-v8 .pss-head .meta,
body.neeka-internal-workspace-v8 .task99-head .meta,
body.neeka-internal-workspace-v8 .rotation99-head .meta,
body.neeka-internal-workspace-v8 .work-forms-head-105 .meta,
body.neeka-internal-workspace-v8 .control-head-v1 .meta,
body.neeka-internal-workspace-v8 .hum3-head .meta{
  position:relative;
  z-index:1;
  margin-top:4px;
  font-size:11.5px;
}

/* Бенефіціари — green */
body.neeka-internal-workspace-v8 .benef-page-head{
  border-color:#cee4d3;
  background:linear-gradient(135deg,#e3f4e7 0%,#f4fbf6 64%,#fff 100%);
}
body.neeka-internal-workspace-v8 .benef-page-head::after{background:rgba(47,143,67,.13)}
body.neeka-internal-workspace-v8 .benef-page-head h2{color:#245e34}

/* Обдзвон — blue */
body.neeka-internal-workspace-v8 .calls-head{
  border-color:#d0e1f0;
  background:linear-gradient(135deg,#e4f0fa 0%,#f5f9fd 64%,#fff 100%);
}
body.neeka-internal-workspace-v8 .calls-head::after{background:rgba(47,115,185,.14)}
body.neeka-internal-workspace-v8 .calls-head h2{color:#285a86}

/* Психологічна — purple */
body.neeka-internal-workspace-v8 .pss-head{
  border-color:#ddd4ef;
  background:linear-gradient(135deg,#eee8fa 0%,#f8f5fd 64%,#fff 100%);
}
body.neeka-internal-workspace-v8 .pss-head::after{background:rgba(117,86,191,.14)}
body.neeka-internal-workspace-v8 .pss-head h2{color:#5a418e}

/* Завдання — amber */
body.neeka-internal-workspace-v8 .task99-head{
  border-color:#ead9ad;
  background:linear-gradient(135deg,#fff1ce 0%,#fff8e8 64%,#fff 100%);
}
body.neeka-internal-workspace-v8 .task99-head::after{background:rgba(174,119,22,.13)}
body.neeka-internal-workspace-v8 .task99-head h2{color:#805a13}

/* Ротація — teal */
body.neeka-internal-workspace-v8 .rotation99-head{
  border-color:#cfe4e1;
  background:linear-gradient(135deg,#e3f3f1 0%,#f4fbfa 64%,#fff 100%);
}
body.neeka-internal-workspace-v8 .rotation99-head::after{background:rgba(52,126,121,.13)}
body.neeka-internal-workspace-v8 .rotation99-head h2{color:#326762}

/* Гуманітарна — green */
body.neeka-internal-workspace-v8 .hum3-head{
  border-color:#d0e6d4;
  background:linear-gradient(135deg,#e6f5e8 0%,#f6fbf7 64%,#fff 100%);
}
body.neeka-internal-workspace-v8 .hum3-head::after{background:rgba(65,150,80,.13)}
body.neeka-internal-workspace-v8 .hum3-head h2{color:#2d6c3a}

/* Контроль роботи — deep green */
body.neeka-internal-workspace-v8 .control-head-v1{
  border-color:#c7dfce;
  background:linear-gradient(135deg,#dcefe1 0%,#f2f9f4 64%,#fff 100%);
}
body.neeka-internal-workspace-v8 .control-head-v1::after{background:rgba(38,111,55,.14)}
body.neeka-internal-workspace-v8 .control-head-v1 h2{color:#285f36}

/* Форми — cool blue-gray */
body.neeka-internal-workspace-v8 .work-forms-head-105{
  border-color:#d3e2e9;
  background:linear-gradient(135deg,#e8f1f5 0%,#f7fafc 64%,#fff 100%);
}
body.neeka-internal-workspace-v8 .work-forms-head-105::after{background:rgba(72,126,151,.12)}
body.neeka-internal-workspace-v8 .work-forms-head-105 h2{color:#3b6477}

body.neeka-internal-workspace-v8 .benef-page-head .badge,
body.neeka-internal-workspace-v8 .calls-head .badge,
body.neeka-internal-workspace-v8 .pss-head .badge,
body.neeka-internal-workspace-v8 .task99-head .badge,
body.neeka-internal-workspace-v8 .rotation99-head .badge,
body.neeka-internal-workspace-v8 .hum3-head .badge,
body.neeka-internal-workspace-v8 .control-head-v1 .badge{
  position:relative;
  z-index:1;
  border-radius:999px;
  padding:6px 9px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 3px 10px rgba(37,70,47,.05);
}

@media(max-width:520px){
  body.neeka-internal-workspace-v8 .benef-page-head,
  body.neeka-internal-workspace-v8 .calls-head,
  body.neeka-internal-workspace-v8 .pss-head,
  body.neeka-internal-workspace-v8 .task99-head,
  body.neeka-internal-workspace-v8 .rotation99-head,
  body.neeka-internal-workspace-v8 .work-forms-head-105,
  body.neeka-internal-workspace-v8 .control-head-v1,
  body.neeka-internal-workspace-v8 .hum3-head,
  body.neeka-internal-workspace-v8 .section-title{
    padding:15px;
    border-radius:18px;
  }
  body.neeka-internal-workspace-v8 .benef-page-head h2,
  body.neeka-internal-workspace-v8 .calls-head h2,
  body.neeka-internal-workspace-v8 .pss-head h2,
  body.neeka-internal-workspace-v8 .task99-head h2,
  body.neeka-internal-workspace-v8 .rotation99-head h2,
  body.neeka-internal-workspace-v8 .work-forms-head-105 h2,
  body.neeka-internal-workspace-v8 .control-head-v1 h2,
  body.neeka-internal-workspace-v8 .hum3-head h2,
  body.neeka-internal-workspace-v8 .section-title h2{font-size:21px}
}
/* ===== /NEEKA INTERNAL COLOR HEADERS V9 ===== */


/* ===== NEEKA RELIABLE DIALOGS V11 ===== */
.neeka-dialog-overlay{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:18px;
  padding-bottom:calc(18px + env(safe-area-inset-bottom));
  background:rgba(20,34,27,.42);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  animation:neekaDialogFade .14s ease-out;
}
.neeka-dialog{
  width:min(100%,520px);
  max-height:min(82vh,680px);
  overflow:auto;
  border-radius:24px;
  padding:18px;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(217,231,221,.95);
  box-shadow:0 22px 70px rgba(20,45,28,.24);
  animation:neekaDialogUp .18s ease-out;
}
.neeka-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}
.neeka-dialog-title{font-size:19px;font-weight:800;letter-spacing:-.02em;color:#1f4f2d}
.neeka-dialog-x{border:0;background:#eef5f0;color:#4a6252;width:34px;height:34px;border-radius:50%;font-size:24px;line-height:1;cursor:pointer}
.neeka-dialog-message{font-size:14px;line-height:1.45;color:#52635a;margin:2px 0 14px}
.neeka-dialog-input{margin:2px 0 6px;background:#fbfdfb!important;border:1px solid #cfdfd3!important;border-radius:14px!important;min-height:48px}
textarea.neeka-dialog-input{min-height:110px;resize:vertical}
.neeka-dialog-error{font-size:12px;color:#a93c3c;margin:4px 2px 0}
.neeka-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.neeka-dialog-actions .btn{min-height:46px;margin:0}
.neeka-dialog-options{display:grid;gap:9px;margin-top:4px}
.neeka-dialog-option{width:100%;text-align:left;border:1px solid #d4e3d8;background:#f8fbf9;border-radius:16px;padding:13px 14px;cursor:pointer;color:#294c34}
.neeka-dialog-option:active{transform:scale(.992)}
.neeka-dialog-option b{display:block;font-size:15px}
.neeka-dialog-option small{display:block;margin-top:3px;color:#718078;line-height:1.35}
@keyframes neekaDialogFade{from{opacity:0}to{opacity:1}}
@keyframes neekaDialogUp{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
@media(min-width:700px){.neeka-dialog-overlay{align-items:center}.neeka-dialog{border-radius:26px;padding:20px}}
@media(max-width:420px){.neeka-dialog-overlay{padding:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.neeka-dialog{border-radius:22px 22px 16px 16px;padding:16px}.neeka-dialog-actions{grid-template-columns:1fr}}
/* ===== /NEEKA RELIABLE DIALOGS V11 ===== */

/* ===== NEEKA TASKS AUTOMATION V12 + INSTANT NAVIGATION V12.2 ===== */
/* Навигация без loader/skeleton/анимаций и без сжатия карточки при тапе. */
.neeka-home-card-v1,
.neeka-home-coord-card-v1{
  -webkit-tap-highlight-color:transparent;
}
.neeka-home-card-v1:active,
.neeka-home-coord-card-v1:active{
  transform:none !important;
  transition:none !important;
}
.task99-auto-mark{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#f1f6f2;
  border:1px solid #dbe8de;
  color:#548062;
  font-size:18px;
  font-weight:800;
}
.task99-auto-note{
  margin-top:7px;
  color:#748078;
  font-size:11.5px;
  line-height:1.35;
}
.task99-icon.delivery{
  background:#edf7ef;
  color:#3b7d4b;
}
/* ===== /NEEKA TASKS AUTOMATION V12 + INSTANT NAVIGATION V12.2 ===== */
/* ===== NEEKA TASKS TEAM OVERVIEW V12.4 ===== */
.task-team-total-v124{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin:0 0 16px;
}
.task-team-total-v124>div{
  background:#fff;
  border:1px solid #e5e9e6;
  border-radius:16px;
  padding:12px 10px;
  text-align:center;
  box-shadow:0 4px 14px rgba(31,58,39,.045);
}
.task-team-total-v124 b{
  display:block;
  font-size:23px;
  line-height:1;
  color:#35553d;
}
.task-team-total-v124 span{
  display:block;
  margin-top:5px;
  font-size:11px;
  color:#738078;
}
.task-team-total-v124 .done b{color:#398a52}
.task-team-total-v124 .overdue{
  border-color:#efd2ce;
  background:#fff8f7;
}
.task-team-total-v124 .overdue b{color:#b74d43}

.task-team-section-title-v124{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin:6px 2px 10px;
}
.task-team-section-title-v124 h3{
  margin:0;
  font-size:16px;
}
.task-team-section-title-v124 span{
  font-size:11px;
  color:#78817b;
}

.task-team-grid-v124{
  display:grid;
  gap:10px;
}
.task-team-person-v124{
  width:100%;
  appearance:none;
  border:1px solid #dde5df;
  background:#fff;
  border-radius:18px;
  padding:14px;
  text-align:left;
  color:inherit;
  box-shadow:0 5px 17px rgba(33,63,42,.05);
  cursor:pointer;
}
.task-team-person-top-v124{
  display:flex;
  align-items:center;
  gap:11px;
}
.task-team-avatar-v124{
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#eaf5ed;
  color:#347247;
  font-weight:800;
  font-size:17px;
}
.task-team-person-name-v124{
  flex:1;
  min-width:0;
}
.task-team-person-name-v124 strong{
  display:block;
  font-size:15px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.task-team-person-name-v124 span{
  display:block;
  margin-top:2px;
  font-size:11px;
  color:#7b837e;
}
.task-team-chevron-v124{
  font-size:27px;
  line-height:1;
  color:#a2aaa5;
}
.task-team-person-metrics-v124{
  display:flex;
  gap:8px;
  margin-top:12px;
}
.task-team-person-metrics-v124>div{
  min-width:0;
  flex:1;
  border-radius:12px;
  padding:8px 9px;
  background:#f5f7f5;
}
.task-team-person-metrics-v124 b{
  display:block;
  font-size:17px;
  line-height:1;
  color:#59635c;
}
.task-team-person-metrics-v124 span{
  display:block;
  margin-top:4px;
  font-size:10px;
  color:#7a817c;
}
.task-team-person-metrics-v124 .has-open{
  background:#fff6e7;
}
.task-team-person-metrics-v124 .has-open b{color:#976712}
.task-team-person-metrics-v124 .done{
  background:#edf7f0;
}
.task-team-person-metrics-v124 .done b{color:#377d4a}
.task-team-person-metrics-v124 .overdue{
  background:#fff0ee;
}
.task-team-person-metrics-v124 .overdue b{color:#b64f45}

.task-team-tabs-v124{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin:0 0 13px;
  padding:4px;
  border-radius:15px;
  background:#edf1ee;
}
.task-team-tabs-v124 button{
  min-height:39px;
  border:0;
  border-radius:11px;
  background:transparent;
  color:#68726b;
  font-weight:700;
  font-size:12px;
}
.task-team-tabs-v124 button b{
  margin-left:4px;
  font-size:11px;
}
.task-team-tabs-v124 button.active{
  background:#fff;
  color:#7a5513;
  box-shadow:0 2px 9px rgba(48,62,52,.08);
}
.task-team-tabs-v124 button.active.done{
  color:#347748;
}
.task-team-inline-alert-v124{
  margin:-2px 0 12px;
  padding:9px 11px;
  border-radius:12px;
  background:#fff1ef;
  color:#9c473f;
  font-size:12px;
}
.task-team-detail-list-v124{
  display:grid;
  gap:9px;
}
.task-team-done-card-v124{
  opacity:.9;
}
.task-team-completed-v124{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  padding:7px 9px;
  border-radius:999px;
  background:#eaf6ee;
  color:#34794a;
  font-size:11px;
  font-weight:800;
}
@media(min-width:760px){
  .task-team-grid-v124{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:420px){
  .task-team-person-metrics-v124{
    gap:6px;
  }
  .task-team-person-metrics-v124>div{
    padding:8px 7px;
  }
}
/* ===== /NEEKA TASKS TEAM OVERVIEW V12.4 ===== */


/* ===== NEEKA TASKS PERSONAL-FIRST V12.5 ===== */
.task-mode-switch-v125{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  margin:0 0 14px;
  padding:4px;
  border:1px solid #dce8df;
  border-radius:14px;
  background:rgba(244,249,245,.92);
}
.task-mode-switch-v125 button{
  min-height:38px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#607067;
  font:inherit;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.task-mode-switch-v125 button.active{
  background:#fff;
  color:#2d6b3a;
  box-shadow:0 2px 8px rgba(45,78,55,.10);
}
/* ===== /NEEKA TASKS PERSONAL-FIRST V12.5 ===== */

/* ===== NEEKA V13 GEOGRAPHY / ROTATION / REGISTRATION / LIFECYCLE ===== */
.rotation-v13-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 14px;
}
.rotation-v13-head h2{margin:0 0 4px}
.rotation-v13-head-actions{display:flex;align-items:center;gap:8px}
.rotation-v13-list{display:grid;gap:11px}
.rotation-v13-card{
  border:1px solid #dce8df;border-radius:18px;background:#fff;padding:14px;
  box-shadow:0 5px 20px rgba(48,72,55,.055);
}
.rotation-v13-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.rotation-v13-date{font-size:17px;font-weight:850;color:#203c2b}
.rotation-v13-geo{margin-top:4px;font-size:12px;line-height:1.45;color:#68766d;max-width:520px}
.rotation-v13-copy-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:9px 10px;
  border-radius:12px;background:#f5f9f6;font-size:12px;color:#52655a;
}
.rotation-v13-copy-row>span{min-width:0;overflow-wrap:anywhere}
.rotation-v13-sessions{display:grid;gap:7px;margin-top:10px}
.rotation-v13-session{
  width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;
  border:1px solid #e4ece6;border-radius:12px;background:#fbfdfb;padding:9px 10px;color:#314b3a;font:inherit;
}
.rotation-v13-session b{font-size:12px}.rotation-v13-session span{font-size:11px;color:#728078}
.rotation-v13-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:11px}
.district-grid-v13{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.geo-edit-v13{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.call-geo-v13{margin-top:9px;padding-top:9px;border-top:1px solid rgba(90,110,96,.16);font-size:12px;line-height:1.55}
.district-report-v13{margin-top:18px}
.district-report-table-v13{display:grid;gap:7px}
.district-report-row-v13{
  display:grid;grid-template-columns:minmax(130px,2fr) repeat(5,minmax(48px,.65fr));gap:7px;align-items:center;
  padding:10px 11px;border:1px solid #e1eae3;border-radius:13px;background:#fff;
}
.district-report-row-v13>div{min-width:0}.district-report-row-v13>div:first-child{display:flex;flex-direction:column;gap:2px}
.district-report-row-v13>div:first-child b{font-size:12px;color:#294332}.district-report-row-v13 span{font-size:10px;color:#748078}
.district-report-row-v13 strong{display:block;font-size:14px;color:#274d34}
@media(max-width:620px){
  .district-grid-v13,.geo-edit-v13{grid-template-columns:1fr}
  .rotation-v13-head{align-items:center}
  .rotation-v13-copy-row{align-items:flex-start;flex-direction:column}
  .district-report-row-v13{grid-template-columns:minmax(120px,1.8fr) repeat(2,minmax(46px,.7fr));row-gap:9px}
  .district-report-row-v13>div:nth-child(n+4){border-top:1px solid #edf2ee;padding-top:7px}
}
/* ===== /NEEKA V13 GEOGRAPHY / ROTATION / REGISTRATION / LIFECYCLE ===== */


/* ===== NEEKA ROTATION PARTNER NEXT TO DATE V13.2 ===== */
.rotation-v13-mainline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.rotation-v13-date{font-size:19px;font-weight:900;letter-spacing:-.2px;color:#203c2b}
.rotation-v13-partner{display:inline-flex;align-items:center;max-width:100%;border-radius:999px;padding:4px 10px;font-size:17px;font-weight:900;line-height:1.15;background:#eef2f0;color:#4f6156;white-space:nowrap}
.rotation-v13-partner.neeka{background:#e9f6ec;color:#27783b}
.rotation-v13-partner.r2p{background:#2f6fd3;color:#fff}
.rotation-v13-geo{margin-top:7px}
@media(max-width:380px){.rotation-v13-date{font-size:18px}.rotation-v13-partner{font-size:16px;padding:4px 9px}}

/* ===== NEEKA V13.3 MANDATORY BENEFICIARY DISTRICT ===== */
.import-district-confirm-v133{
  margin-top:10px;
  padding:12px 14px;
  border:1px solid rgba(31,111,73,.16);
  border-radius:14px;
  background:rgba(47,158,104,.07);
}
.import-district-confirm-v133>span{
  display:block;
  font-size:12px;
  color:#65758b;
  margin-bottom:3px;
}
.import-district-confirm-v133>strong{
  display:block;
  font-size:18px;
  line-height:1.2;
  margin-bottom:4px;
}

/* ===== NEEKA V14 STABLE PRODUCT SYSTEM ===== */
.data-quality-v14{margin-top:12px}
