
.nfch-shell{max-width:1120px;margin:30px auto;padding:0 16px;color:#172033}
.nfch-card{background:#fff;border:1px solid #e4e8ef;border-radius:18px;padding:18px;margin:18px 0}
.nfch-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.nfch-project-link{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid #edf0f5;color:inherit;text-decoration:none}
.nfch-project-link span,.nfch-project-link small{display:block;margin-top:4px}
.nfch-project-link small{color:#7d8697}
.nfch-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 0;border-top:1px solid #edf0f5}
.nfch-row small{display:block;color:#7d8697;margin-top:4px}
.nfch-form{display:flex;flex-direction:column;gap:10px;margin:12px 0;padding:13px;background:#fafbfc;border-radius:12px}
.nfch-form textarea{width:100%}
.nfch-btn{width:max-content;border:0;border-radius:10px;padding:10px 16px;background:#2457ff;color:#fff;cursor:pointer}
.nfch-alert,.nfch-success,.nfch-next{padding:15px;border-radius:12px;margin:14px 0}
.nfch-alert{background:#fff4e5;border:1px solid #f5a623}
.nfch-success{background:#edf9f0;border:1px solid #58ad73}
.nfch-next{background:#fff7e8;border:1px solid #f2b24b}
.nfch-thread{display:flex;flex-direction:column;gap:10px}.nfch-msg{padding:12px;border-radius:12px;background:#f5f7fa}.nfch-msg p{margin:6px 0}
@media(max-width:760px){.nfch-grid{grid-template-columns:1fr}}

.nfch-review-note{font-size:12px;color:#7d8697;margin-top:4px}

.nfch-notifications{margin-top:14px}
.nfch-notify-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:10px}
.nfch-notify-head h3{margin:0 0 4px}
.nfch-unread-badge{display:inline-block;background:#eef2ff;border:1px solid #ccd7ff;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700}
.nfch-muted{font-size:12px;color:#7d8697}
.nfch-link-button{background:none;border:0;padding:0;color:#2457ff;cursor:pointer;font:inherit}
.nfch-notification-list{display:flex;flex-direction:column}
.nfch-notification{display:flex;gap:10px;align-items:flex-start;padding:13px 4px;border-top:1px solid #edf0f5;text-decoration:none;color:inherit}
.nfch-notification:hover{background:#fafbff}
.nfch-notification-dot{width:9px;height:9px;border-radius:50%;background:#c9ced8;margin-top:7px;flex:0 0 auto}
.nfch-notification.is-unread .nfch-notification-dot{background:#2457ff;box-shadow:0 0 0 4px #edf1ff}
.nfch-notification.is-unread strong{font-weight:800}
.nfch-notification.is-read{opacity:.68}
.nfch-notification-body{flex:1}
.nfch-notification-meta{display:flex;justify-content:space-between;gap:12px}
.nfch-notification-meta small,.nfch-notification-body>small{color:#7d8697}
.nfch-notification-body p{margin:5px 0 6px}
@media(max-width:760px){
  .nfch-notify-head,.nfch-notification-meta{align-items:flex-start;flex-direction:column}
}

.nfch-approval-box{margin:14px 0;padding:16px;border:1px solid #d8e0ff;background:#f8faff;border-radius:14px}
.nfch-approval-box>strong{font-size:15px}
.nfch-approval-box>p{margin:6px 0 12px;color:#667085}
.nfch-approval-actions{margin:0 0 10px}
.nfch-approval-revision{margin-top:8px;background:#fffaf2}
.nfch-btn-success{background:#178447}
.nfch-btn-warning{background:#b66a00}
.nfch-approval-result{margin:12px 0;padding:11px 13px;border-radius:10px;font-weight:700}
.nfch-approval-result.is-approved{background:#edf9f0;border:1px solid #58ad73;color:#23663a}
.nfch-approval-result.is-revision{background:#fff4e5;border:1px solid #f1b258;color:#8d5200}

/* v0.1.14 UX cleanup */
.nfch-shell{max-width:1060px}
.nfch-card{padding:16px}
.nfch-row{padding:10px 0}
.nfch-row>div{min-width:0}
.nfch-row strong{word-break:break-word}
.nfch-row small{line-height:1.7}
.nfch-more-note{margin-top:10px;padding:9px 11px;background:#f7f8fa;border-radius:10px;color:#7d8697;font-size:12px}
.nfch-approval-box{padding:14px}
.nfch-notification{padding:10px 4px}
.nfch-project-link{padding:12px 0}
@media(max-width:760px){
  .nfch-card{padding:13px}
  .nfch-row{align-items:flex-start;flex-direction:column}
}

/* v0.1.15 Payments & Milestones */
.nfch-payment-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.nfch-payment-head h3{margin-top:0}
.nfch-payment-summary{display:flex;gap:10px;flex-wrap:wrap}
.nfch-payment-summary>div{min-width:125px;padding:9px 11px;background:#f7f8fb;border-radius:10px}
.nfch-payment-summary small{display:block;color:#7d8697;margin-bottom:3px}
.nfch-milestone-list{display:flex;flex-direction:column}
.nfch-milestone{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 0;border-top:1px solid #edf0f5}
.nfch-milestone-main small{display:block;color:#7d8697;margin-top:4px}
.nfch-milestone-side{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.nfch-pay-status{display:inline-block;padding:5px 9px;border-radius:999px;font-size:12px;background:#f2f4f7}
.nfch-pay-status.status-paid{background:#edf9f0;color:#23663a}
.nfch-pay-status.status-pending{background:#fff7e8;color:#8d5200}
.nfch-pay-status.status-unpaid{background:#fff1f0;color:#9c2f2b}
@media(max-width:760px){
  .nfch-payment-head,.nfch-milestone{flex-direction:column;align-items:stretch}
  .nfch-milestone-side{justify-content:flex-start}
}

/* v0.1.16 WooCommerce Payment Bridge */
.nfch-milestone-side small{display:block;color:#7d8697;font-size:11px}

/* v0.1.17 Project Timeline */
.nfch-stage-list{display:flex;flex-direction:column}
.nfch-stage{position:relative;display:flex;gap:14px;padding:13px 0}
.nfch-stage:not(:last-child):before{content:"";position:absolute;right:14px;top:38px;bottom:-4px;width:2px;background:#e5e8ef}
.nfch-stage-marker{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 30px;background:#eef1f5;font-weight:700;z-index:1}
.nfch-stage.status-doing .nfch-stage-marker{background:#eaf0ff;color:#2457ff;box-shadow:0 0 0 4px #f3f6ff}
.nfch-stage.status-done .nfch-stage-marker{background:#eaf8ef;color:#178447}
.nfch-stage.status-done:not(:last-child):before{background:#8fd0a7}
.nfch-stage-body{flex:1}
.nfch-stage-body p{margin:5px 0;color:#667085}
.nfch-stage-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.nfch-stage-meta span{font-size:12px;font-weight:700}
.nfch-stage-meta small{color:#7d8697}


/* v0.1.21 Auth Gateway */
.nfch-auth-page{max-width:980px;margin:38px auto;padding:0 18px;color:#0f172a}
.nfch-auth-brand{display:flex;align-items:center;justify-content:center;gap:11px;margin-bottom:20px}
.nfch-auth-brand strong,.nfch-auth-brand small{display:block}
.nfch-auth-brand strong{font-size:20px;letter-spacing:.2px}
.nfch-auth-brand small{font-size:11px;color:#64748b}
.nfch-auth-mark{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#2457ff;color:#fff;font-size:23px;font-weight:800;box-shadow:0 10px 28px rgba(36,87,255,.2)}
.nfch-auth-shell{max-width:520px;margin:0 auto}
.nfch-auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#eef2f7;border-radius:14px;padding:5px;margin-bottom:13px}
.nfch-auth-tabs a{text-align:center;padding:10px 12px;border-radius:10px;text-decoration:none;color:#64748b;font-weight:700}
.nfch-auth-tabs a.active{background:#fff;color:#2457ff;box-shadow:0 3px 12px rgba(15,23,42,.08)}
.nfch-auth-card{background:#fff;border:1px solid #e5e9f0;border-radius:20px;padding:25px;box-shadow:0 18px 50px rgba(15,23,42,.06)}
.nfch-auth-eyebrow{display:inline-block;font-size:12px;font-weight:800;color:#2457ff;background:#eef3ff;border-radius:999px;padding:5px 9px}
.nfch-auth-card h2{margin:12px 0 7px;font-size:25px}
.nfch-auth-card>p{margin:0 0 20px;color:#64748b;line-height:1.8}
.nfch-auth-form{display:flex;flex-direction:column;gap:8px}
.nfch-auth-form label{font-size:13px;font-weight:700;margin-top:5px}
.nfch-auth-form input[type=text],
.nfch-auth-form input[type=email],
.nfch-auth-form input[type=tel],
.nfch-auth-form input[type=password]{width:100%;box-sizing:border-box;border:1px solid #d9dfe8;border-radius:11px;padding:12px 13px;background:#fbfcfe;font:inherit;outline:none}
.nfch-auth-form input:focus{border-color:#2457ff;box-shadow:0 0 0 3px rgba(36,87,255,.09);background:#fff}
.nfch-check{display:flex;align-items:center;gap:7px!important;font-weight:400!important}
.nfch-check input{margin:0}
.nfch-auth-submit{margin-top:10px;border:0;border-radius:11px;background:#2457ff;color:#fff;padding:12px 16px;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 8px 18px rgba(36,87,255,.2)}
.nfch-auth-submit:hover{filter:brightness(.96)}
.nfch-auth-foot{text-align:center;margin-top:16px}
.nfch-auth-foot a{color:#2457ff;text-decoration:none;font-size:13px}
.nfch-auth-note{margin-top:15px;padding:11px 12px;background:#f8fafc;border-radius:10px;color:#64748b;font-size:12px;line-height:1.8}
@media(max-width:600px){
  .nfch-auth-page{margin:20px auto;padding:0 12px}
  .nfch-auth-card{padding:18px;border-radius:16px}
  .nfch-auth-card h2{font-size:21px}
}

/* =========================================================
   NeoForge Client Hub v0.1.22 — Brand Skin
   Visual-only layer. No business logic changes.
   ========================================================= */

:root{
  --nf-blue:#2457ff;
  --nf-blue-2:#4671ff;
  --nf-indigo:#6c4cff;
  --nf-ink:#0b1020;
  --nf-ink-2:#11182b;
  --nf-surface:#ffffff;
  --nf-soft:#f5f7fb;
  --nf-border:#e4e8f0;
  --nf-muted:#6f7a8f;
  --nf-success:#15834a;
  --nf-warn:#b66a00;
  --nf-danger:#b63a3a;
  --nf-radius:18px;
  --nf-shadow:0 14px 38px rgba(13,27,64,.08);
  --nf-glow:0 16px 42px rgba(36,87,255,.16);
}

.nfch-shell,
.nfch-auth-page{
  font-family:inherit;
}

.nfch-shell{
  position:relative;
  max-width:1120px;
  margin:34px auto;
  padding:0 18px 30px;
}

.nfch-shell:before{
  content:"";
  position:absolute;
  inset:-24px 0 auto;
  height:170px;
  z-index:-1;
  border-radius:30px;
  background:
    radial-gradient(circle at 82% 18%, rgba(108,76,255,.15), transparent 34%),
    radial-gradient(circle at 18% 10%, rgba(36,87,255,.12), transparent 30%),
    linear-gradient(180deg, rgba(245,248,255,.95), rgba(255,255,255,0));
}

.nfch-shell>h2{
  font-size:28px;
  letter-spacing:-.4px;
  margin-bottom:18px;
  color:var(--nf-ink);
}

.nfch-card{
  border:1px solid var(--nf-border);
  border-radius:var(--nf-radius);
  box-shadow:var(--nf-shadow);
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px);
}

.nfch-card h3{
  color:var(--nf-ink);
  font-size:17px;
  margin-top:0;
}

.nfch-badge,
.nfch-unread-badge,
.nfch-state{
  background:linear-gradient(135deg,#eef3ff,#f4f1ff);
  border:1px solid #dce4ff;
  color:var(--nf-blue);
  font-weight:800;
}

.nfch-next{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(36,87,255,.22);
  background:
    linear-gradient(135deg,rgba(36,87,255,.08),rgba(108,76,255,.08)),
    #fff;
  box-shadow:var(--nf-glow);
}

.nfch-next:before{
  content:"";
  position:absolute;
  width:130px;
  height:130px;
  border-radius:50%;
  left:-55px;
  top:-60px;
  background:rgba(36,87,255,.09);
}

.nfch-next span,
.nfch-next strong{
  color:var(--nf-blue)!important;
}

.nfch-btn,
.nfch-auth-submit{
  background:linear-gradient(135deg,var(--nf-blue),var(--nf-indigo));
  border:0;
  color:#fff!important;
  font-weight:800;
  box-shadow:0 10px 24px rgba(36,87,255,.22);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}

.nfch-btn:hover,
.nfch-auth-submit:hover{
  transform:translateY(-1px);
  box-shadow:0 13px 28px rgba(36,87,255,.28);
  filter:brightness(1.02);
}

.nfch-project-link{
  border-radius:14px;
  padding:14px 12px;
  margin:3px 0;
  transition:.18s ease;
}

.nfch-project-link:hover{
  background:linear-gradient(135deg,#f7f9ff,#fbfaff);
  transform:translateX(-2px);
}

.nfch-project-link strong{
  color:var(--nf-blue);
}

.nfch-progress{
  background:#e9edf5;
  height:9px;
}

.nfch-progress span{
  background:linear-gradient(90deg,var(--nf-blue),var(--nf-indigo));
  box-shadow:0 0 14px rgba(36,87,255,.28);
}

.nfch-empty{
  background:linear-gradient(180deg,#fafbfe,#f7f9fc);
  border:1px dashed #dfe4ed;
  color:var(--nf-muted);
}

.nfch-alert{
  background:#fff8ed;
  border-color:#f1be71;
  color:#744a00;
}

.nfch-success{
  background:#eefaf3;
  border-color:#77c895;
  color:#1e6139;
}

/* Notifications */
.nfch-notification{
  border-radius:13px;
  padding:12px 10px;
}

.nfch-notification:hover{
  background:#f7f9ff;
}

.nfch-notification.is-unread{
  background:linear-gradient(90deg,rgba(36,87,255,.045),transparent);
}

.nfch-notification.is-unread .nfch-notification-dot{
  background:var(--nf-blue);
  box-shadow:0 0 0 5px rgba(36,87,255,.10);
}

/* Timeline */
.nfch-stage{
  border-radius:14px;
  padding:14px 10px;
}

.nfch-stage.status-doing{
  background:linear-gradient(90deg,rgba(36,87,255,.055),transparent);
}

.nfch-stage-marker{
  border:1px solid #dfe4ec;
  background:#f1f4f9;
}

.nfch-stage.status-doing .nfch-stage-marker{
  color:#fff;
  background:linear-gradient(135deg,var(--nf-blue),var(--nf-indigo));
  box-shadow:0 0 0 5px rgba(36,87,255,.08);
}

.nfch-stage.status-done .nfch-stage-marker{
  background:#eaf8ef;
  color:var(--nf-success);
}

/* Payments */
.nfch-payment-summary>div{
  border:1px solid #e7ebf2;
  background:linear-gradient(180deg,#fafbfe,#f5f7fb);
}

.nfch-payment-summary>div:last-child{
  background:linear-gradient(135deg,#f3f6ff,#f7f3ff);
  border-color:#dfe5ff;
}

.nfch-pay-status{
  font-weight:800;
}

.nfch-pay-status.status-paid{
  background:#eaf8ef;
  color:var(--nf-success);
}

.nfch-pay-status.status-pending{
  background:#fff6e7;
  color:var(--nf-warn);
}

.nfch-pay-status.status-unpaid{
  background:#fff0f0;
  color:#9d3333;
}

/* Approval */
.nfch-approval-box{
  border:1px solid #dce4ff;
  background:
    linear-gradient(135deg,rgba(36,87,255,.05),rgba(108,76,255,.04)),
    #fff;
}

.nfch-btn-success{
  background:linear-gradient(135deg,#15834a,#20a35d);
}

.nfch-btn-warning{
  background:linear-gradient(135deg,#a86100,#cf7a00);
}

/* Auth page */
.nfch-auth-page{
  position:relative;
  max-width:1180px;
  min-height:74vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.nfch-auth-page:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  border-radius:32px;
  background:
    radial-gradient(circle at 75% 18%, rgba(108,76,255,.16), transparent 28%),
    radial-gradient(circle at 25% 75%, rgba(36,87,255,.12), transparent 32%);
}

.nfch-auth-page:after{
  content:"NEOFORGE";
  position:absolute;
  z-index:-1;
  left:4%;
  bottom:5%;
  font-size:84px;
  line-height:1;
  font-weight:900;
  letter-spacing:8px;
  color:rgba(20,31,60,.035);
  user-select:none;
}

.nfch-auth-brand{
  margin-bottom:22px;
}

.nfch-auth-mark{
  width:48px;
  height:48px;
  border-radius:15px;
  background:linear-gradient(135deg,var(--nf-blue),var(--nf-indigo));
  box-shadow:0 14px 36px rgba(36,87,255,.24);
}

.nfch-auth-brand strong{
  color:var(--nf-ink);
  font-size:22px;
}

.nfch-auth-brand small{
  color:var(--nf-blue);
  font-weight:700;
  letter-spacing:.4px;
}

.nfch-auth-tabs{
  border:1px solid #e3e8f0;
  background:#f1f4f9;
}

.nfch-auth-tabs a.active{
  color:var(--nf-blue);
  box-shadow:0 6px 16px rgba(20,31,60,.07);
}

.nfch-auth-card{
  border:1px solid rgba(219,225,237,.95);
  border-radius:22px;
  box-shadow:
    0 24px 60px rgba(15,25,55,.09),
    0 0 0 1px rgba(255,255,255,.8) inset;
}

.nfch-auth-eyebrow{
  background:linear-gradient(135deg,#edf3ff,#f3efff);
  color:var(--nf-blue);
}

.nfch-auth-card h2{
  color:var(--nf-ink);
}

.nfch-auth-form input[type=text],
.nfch-auth-form input[type=email],
.nfch-auth-form input[type=tel],
.nfch-auth-form input[type=password]{
  border:1px solid #dce2eb;
  background:#f9fbfd;
}

.nfch-auth-form input:focus{
  background:#fff;
  border-color:var(--nf-blue);
  box-shadow:0 0 0 4px rgba(36,87,255,.08);
}

.nfch-auth-note{
  border:1px solid #e6eaf2;
  background:#f8fafd;
}

/* Fine polish */
.nfch-thread .nfch-msg{
  border:1px solid #e8ecf2;
  background:#f7f9fc;
}

.nfch-thread .nfch-msg.mine{
  background:linear-gradient(135deg,#eef3ff,#f7f4ff);
  border-color:#dde5ff;
}

.nfch-row a,
.nfch-back,
.nfch-auth-foot a,
.nfch-link-button{
  color:var(--nf-blue);
}

/* Responsive */
@media(max-width:760px){
  .nfch-shell{
    margin-top:18px;
    padding:0 11px 22px;
  }

  .nfch-shell:before{
    border-radius:20px;
    height:130px;
  }

  .nfch-shell>h2{
    font-size:23px;
  }

  .nfch-card{
    border-radius:15px;
    box-shadow:0 10px 26px rgba(15,25,55,.055);
  }

  .nfch-auth-page{
    min-height:auto;
    margin:18px auto 30px;
  }

  .nfch-auth-page:after{
    display:none;
  }

  .nfch-auth-brand{
    justify-content:flex-start;
  }

  .nfch-payment-summary{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
  }

  .nfch-payment-summary>div{
    width:100%;
    box-sizing:border-box;
  }
}

/* =========================================================
   NeoForge Client Hub v0.1.23 — Dashboard UI Redesign
   Visual-only. No logic/database changes.
   ========================================================= */

/* tighter page frame */
.nfch-shell{
  max-width:1080px;
  margin:18px auto 34px;
  padding:0 14px 24px;
}

.nfch-shell:before{
  height:118px;
  inset:-10px 0 auto;
  border-radius:24px;
  background:
    radial-gradient(circle at 82% 12%, rgba(108,76,255,.10), transparent 30%),
    radial-gradient(circle at 20% 5%, rgba(36,87,255,.09), transparent 28%),
    linear-gradient(180deg, rgba(247,249,255,.9), rgba(255,255,255,0));
}

/* title closer to dashboard */
.nfch-shell>h2{
  margin:6px 0 14px;
  font-size:26px;
  font-weight:900;
}

/* compact cards */
.nfch-card{
  padding:15px 16px;
  margin:12px 0;
  border-radius:16px;
  box-shadow:0 9px 26px rgba(16,28,61,.06);
}

.nfch-card h3{
  margin:0 0 10px;
  font-size:16px;
}

/* notifications become compact feed */
.nfch-notifications{
  padding:14px 16px;
}

.nfch-notify-head{
  margin-bottom:6px;
  align-items:center;
}

.nfch-notify-head>div{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.nfch-notify-head h3{
  margin:0;
}

.nfch-unread-badge{
  padding:3px 8px;
  font-size:11px;
}

.nfch-notification{
  position:relative;
  padding:10px 8px;
  gap:9px;
  border-radius:10px;
}

.nfch-notification + .nfch-notification{
  margin-top:2px;
}

.nfch-notification-body p{
  margin:3px 0 4px;
  line-height:1.6;
  color:#4f5b70;
}

.nfch-notification-meta{
  align-items:center;
}

.nfch-notification-meta strong{
  font-size:13px;
  line-height:1.55;
}

.nfch-notification-meta small,
.nfch-notification-body>small{
  font-size:11px;
}

.nfch-notification-dot{
  width:7px;
  height:7px;
  margin-top:7px;
}

/* remove oversized feel */
.nfch-notification.is-unread{
  background:linear-gradient(90deg,rgba(36,87,255,.035),transparent);
}

.nfch-notification.is-read{
  opacity:.76;
}

/* next action as dashboard hero */
.nfch-next{
  margin:12px 0;
  padding:16px 18px;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(36,87,255,.10);
}

.nfch-next p{
  margin:6px 0 10px;
  line-height:1.75;
}

/* projects */
.nfch-project-link{
  padding:11px 10px;
  margin:2px 0;
  border-radius:11px;
}

.nfch-project-link>div{
  min-width:0;
}

.nfch-project-link strong{
  font-size:13px;
}

.nfch-project-link span{
  font-size:14px;
  font-weight:700;
  color:#151d31;
}

.nfch-project-link small{
  font-size:11px;
}

/* rows */
.nfch-row{
  padding:9px 0;
  gap:10px;
}

.nfch-row strong{
  font-size:13px;
}

.nfch-row small{
  font-size:11px;
}

/* two-column sections balanced */
.nfch-grid{
  gap:14px;
}

/* timeline more SaaS-like */
.nfch-stage{
  padding:10px 8px;
  gap:11px;
}

.nfch-stage-marker{
  width:26px;
  height:26px;
  flex:0 0 26px;
  font-size:12px;
}

.nfch-stage:not(:last-child):before{
  right:12px;
  top:32px;
}

.nfch-stage-body strong{
  font-size:13px;
}

.nfch-stage-body p{
  font-size:12px;
  line-height:1.65;
}

.nfch-stage-meta{
  gap:7px;
}

.nfch-stage-meta span,
.nfch-stage-meta small{
  font-size:11px;
}

/* payment area less bulky */
.nfch-payment-head{
  align-items:center;
  gap:12px;
}

.nfch-payment-summary{
  gap:7px;
}

.nfch-payment-summary>div{
  min-width:105px;
  padding:7px 9px;
  border-radius:9px;
}

.nfch-payment-summary small{
  font-size:10px;
}

.nfch-payment-summary strong{
  font-size:13px;
}

.nfch-milestone{
  padding:10px 0;
  gap:12px;
}

.nfch-milestone-main strong,
.nfch-milestone-side>strong{
  font-size:13px;
}

.nfch-milestone-main small,
.nfch-milestone-side small{
  font-size:10px;
}

.nfch-pay-status{
  padding:4px 8px;
  font-size:10px;
}

/* approval */
.nfch-approval-box{
  padding:12px 13px;
  border-radius:12px;
}

.nfch-approval-box>p{
  margin:4px 0 9px;
  font-size:12px;
}

.nfch-approval-result{
  padding:9px 11px;
  font-size:12px;
}

/* messages */
.nfch-thread{
  gap:7px;
}

.nfch-msg{
  padding:10px 11px;
  border-radius:11px;
  max-width:74%;
}

.nfch-msg strong{
  font-size:12px;
}

.nfch-msg p{
  font-size:12px;
  line-height:1.7;
}

.nfch-msg small{
  font-size:10px;
}

/* forms */
.nfch-form{
  padding:11px;
  border-radius:10px;
  gap:8px;
}

.nfch-form textarea,
.nfch-form input[type=text],
.nfch-form input[type=email],
.nfch-form input[type=tel],
.nfch-form input[type=password],
.nfch-form input[type=file]{
  font-size:12px;
}

/* buttons */
.nfch-btn{
  padding:8px 13px;
  border-radius:9px;
  font-size:12px;
}

/* auth page stays branded but tighter */
.nfch-auth-page{
  max-width:1080px;
  min-height:68vh;
}

.nfch-auth-shell{
  max-width:470px;
}

.nfch-auth-card{
  padding:22px;
  border-radius:18px;
}

.nfch-auth-card h2{
  font-size:23px;
}

.nfch-auth-card>p{
  font-size:13px;
  line-height:1.75;
}

.nfch-auth-form input[type=text],
.nfch-auth-form input[type=email],
.nfch-auth-form input[type=tel],
.nfch-auth-form input[type=password]{
  padding:10px 12px;
  border-radius:9px;
}

/* visual hierarchy / dashboard spacing */
.nfch-shell > a:first-child{
  display:inline-flex;
  margin-bottom:8px;
  font-size:12px;
  text-decoration:none;
}

/* mobile */
@media(max-width:760px){
  .nfch-shell{
    margin-top:10px;
    padding:0 9px 18px;
  }

  .nfch-shell:before{
    height:90px;
  }

  .nfch-shell>h2{
    font-size:21px;
    margin-bottom:10px;
  }

  .nfch-card{
    padding:12px;
    margin:9px 0;
    border-radius:13px;
  }

  .nfch-notify-head{
    gap:8px;
  }

  .nfch-notify-head>div{
    align-items:flex-start;
    flex-direction:column;
  }

  .nfch-notification{
    padding:9px 5px;
  }

  .nfch-notification-meta{
    gap:3px;
  }

  .nfch-grid{
    gap:9px;
  }

  .nfch-msg{
    max-width:90%;
  }

  .nfch-payment-summary{
    grid-template-columns:1fr 1fr 1fr;
    gap:5px;
  }

  .nfch-payment-summary>div{
    min-width:0;
    padding:7px;
  }

  .nfch-payment-summary strong{
    font-size:11px;
  }

  .nfch-payment-summary small{
    font-size:9px;
  }
}

/* v0.1.24 Smart navigation menu */
.nfch-menu-item>a{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
  padding:8px 12px!important;
  background:rgba(255,255,255,.035);
  transition:.18s ease;
}
.nfch-menu-item>a:hover,
.nfch-menu-item.current-menu-item>a{
  background:linear-gradient(135deg,#2457ff,#6c4cff);
  color:#fff!important;
  border-color:transparent;
  box-shadow:0 7px 18px rgba(36,87,255,.20);
}

/* v0.1.26 Compact Notifications Hotfix */
.nfch-notifications.is-compact{padding:13px 15px}
.nfch-notifications.is-compact .nfch-notification{padding:9px 7px;min-height:auto}
.nfch-notifications.is-compact .nfch-notification-body p{
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:2px 0 3px;
}
.nfch-notify-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nfch-notify-actions form{margin:0}
.nfch-notify-all{display:inline-flex;align-items:center;color:#2457ff!important;text-decoration:none!important;font-size:12px;font-weight:800}
.nfch-notify-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding-top:9px;border-top:1px solid #edf0f5;font-size:11px;color:#7d8697}
.nfch-notify-footer a{color:#2457ff!important;font-weight:800;text-decoration:none!important}
@media(max-width:760px){
  .nfch-notify-head{align-items:flex-start;flex-direction:column}
  .nfch-notify-actions{width:100%;justify-content:space-between}
}
/* v0.1.27 Full Dashboard Layout */
.nfch-app{--hub-blue:#2457ff;--hub-indigo:#704cff;--hub-ink:#121a2f;--hub-muted:#74809a;--hub-line:#e5eaf3;width:min(1440px,calc(100% - 24px));margin:16px auto 34px;border:1px solid var(--hub-line);border-radius:26px;background:#f4f7ff;box-shadow:0 24px 70px rgba(18,32,73,.10);overflow:hidden}.nfch-topbar{min-height:72px;padding:0 18px;display:flex;align-items:center;gap:28px;background:#0d1220;color:#fff;border-bottom:1px solid rgba(255,255,255,.07)}.nfch-topbar-brand{display:flex;align-items:center;gap:10px;min-width:max-content}.nfch-topbar-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#5978ff,#765cff);font-weight:900}.nfch-topbar-brand strong,.nfch-topbar-brand small{display:block;line-height:1.1}.nfch-topbar-brand small{margin-top:4px;color:#8e9bb2;font-size:8px;letter-spacing:2px}.nfch-topbar-nav{display:flex;align-items:center;gap:4px;margin-inline-start:auto}.nfch-topbar-nav a{padding:9px 10px;border-radius:9px;color:#b8c1cf!important;text-decoration:none!important;font-size:13px;font-weight:700}.nfch-topbar-nav a:hover{color:#fff!important;background:rgba(255,255,255,.055)}.nfch-topbar-user{display:flex;align-items:center;gap:10px;min-width:max-content;padding-right:10px;border-right:1px solid rgba(255,255,255,.08)}.nfch-topbar-user span{font-size:12px;font-weight:700}.nfch-topbar-user a{font-size:11px;color:#90a1c0!important;text-decoration:none!important}.nfch-app-body{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:720px}.nfch-sidebar{padding:18px 14px;background:linear-gradient(180deg,#eef4ff 0%,#f7f9ff 55%,#f5f7fb 100%);border-left:1px solid var(--hub-line)}.nfch-sidebar-profile{display:flex;align-items:center;gap:10px;padding:12px;margin-bottom:12px;border-radius:16px;background:#fff;border:1px solid var(--hub-line);box-shadow:0 8px 20px rgba(28,45,82,.05)}.nfch-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--hub-blue),var(--hub-indigo));font-size:17px;font-weight:900}.nfch-sidebar-profile strong,.nfch-sidebar-profile small{display:block}.nfch-sidebar-profile strong{font-size:13px;color:var(--hub-ink)}.nfch-sidebar-profile small{margin-top:3px;font-size:9px;color:var(--hub-muted);max-width:155px;overflow:hidden;text-overflow:ellipsis}.nfch-sidebar-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:13px}.nfch-sidebar-stats>div{padding:9px;text-align:center;border-radius:12px;background:#fff;border:1px solid var(--hub-line)}.nfch-sidebar-stats strong{display:block;color:var(--hub-blue);font-size:16px}.nfch-sidebar-stats small{font-size:9px;color:var(--hub-muted)}.nfch-side-nav{display:flex;flex-direction:column;gap:4px}.nfch-side-nav a{min-height:45px;padding:0 11px;display:flex;align-items:center;gap:10px;border-radius:12px;color:#59657a!important;text-decoration:none!important;font-size:12.5px;font-weight:700;transition:.18s}.nfch-side-nav a:hover{color:var(--hub-blue)!important;background:#fff}.nfch-side-nav a.is-active{color:#fff!important;background:linear-gradient(135deg,var(--hub-blue),var(--hub-indigo));box-shadow:0 10px 25px rgba(36,87,255,.22)}.nfch-side-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:rgba(36,87,255,.08)}.nfch-side-nav a.is-active .nfch-side-icon{background:rgba(255,255,255,.14)}.nfch-sidebar-help{margin-top:18px;padding:13px;border-radius:15px;background:linear-gradient(135deg,#fff7de,#fff);border:1px solid #f1dfac}.nfch-sidebar-help strong{font-size:12px}.nfch-sidebar-help p{font-size:10px;line-height:1.8;color:#766c58}.nfch-sidebar-help a{font-size:10px;color:#986800!important;font-weight:800}.nfch-app-main{min-width:0;padding:22px;background:radial-gradient(circle at 80% 0%,rgba(112,76,255,.08),transparent 28%),radial-gradient(circle at 15% 10%,rgba(36,87,255,.06),transparent 24%),#f4f7ff}.nfch-dashboard-hero{min-height:150px;padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;overflow:hidden;border-radius:22px;color:#fff;background:linear-gradient(135deg,#17234b 0%,#2457ff 58%,#6e4dff 100%);box-shadow:0 18px 38px rgba(36,87,255,.20)}.nfch-dashboard-hero h1{margin:7px 0 8px;color:#fff;font-size:27px}.nfch-dashboard-hero p{margin:0;color:#dfe6ff;font-size:13px}.nfch-eyebrow{font-size:10px;font-weight:800;color:#bac8ff}.nfch-hero-art{width:210px;height:100px;position:relative}.nfch-hero-art span{position:absolute;border-radius:50%;background:rgba(255,255,255,.13);box-shadow:0 0 0 12px rgba(255,255,255,.025)}.nfch-hero-art span:nth-child(1){width:86px;height:86px;right:8px;top:8px}.nfch-hero-art span:nth-child(2){width:46px;height:46px;right:92px;top:3px}.nfch-hero-art span:nth-child(3){width:30px;height:30px;right:142px;top:52px}.nfch-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.nfch-kpi{min-height:112px;padding:15px;display:flex;flex-direction:column;justify-content:center;border-radius:17px;color:#fff!important;text-decoration:none!important;box-shadow:0 12px 26px rgba(19,34,75,.09);transition:.18s}.nfch-kpi:hover{transform:translateY(-2px)}.nfch-kpi span{font-size:11px;font-weight:700;opacity:.86}.nfch-kpi strong{margin:4px 0;font-size:27px;line-height:1}.nfch-kpi small{font-size:9px;opacity:.85}.nfch-kpi-blue{background:linear-gradient(135deg,#2c65ff,#4e7bff)}.nfch-kpi-orange{background:linear-gradient(135deg,#ff9d22,#ffb43b)}.nfch-kpi-purple{background:linear-gradient(135deg,#7454ff,#9a6cff)}.nfch-kpi-green{background:linear-gradient(135deg,#16a469,#41bd83)}.nfch-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:14px;align-items:start}.nfch-dashboard-grid>.nfch-card{margin:0;min-width:0}.nfch-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.nfch-section-head h3{margin:2px 0 0}.nfch-section-kicker{font-size:9px;color:var(--hub-blue);font-weight:800}.nfch-section-head a{font-size:10px;color:var(--hub-blue)!important;font-weight:800}.nfch-home-projects{display:flex;flex-direction:column}.nfch-home-project{display:grid;grid-template-columns:minmax(0,1fr) 120px 42px;align-items:center;gap:10px;padding:11px 4px;color:inherit!important;text-decoration:none!important;border-top:1px solid var(--hub-line)}.nfch-home-project strong{display:block;font-size:12.5px;color:var(--hub-ink)}.nfch-home-project small{display:block;margin-top:3px;font-size:9.5px;color:var(--hub-muted)}.nfch-home-project b{font-size:11px}.nfch-mini-progress{height:7px;overflow:hidden;border-radius:99px;background:#e9edf6}.nfch-mini-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--hub-blue),var(--hub-indigo))}.nfch-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.nfch-quick-card{min-height:120px;padding:15px;display:flex;flex-direction:column;justify-content:flex-end;border-radius:18px;color:#16203a!important;text-decoration:none!important;border:1px solid var(--hub-line);transition:.18s}.nfch-quick-card:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(25,43,85,.08)}.nfch-quick-card span{font-size:9px;font-weight:800}.nfch-quick-card strong{margin:5px 0 4px;font-size:14px}.nfch-quick-card small{font-size:9px;line-height:1.6;color:#66738b}.nfch-quick-yellow{background:linear-gradient(145deg,#fff8de,#fff)}.nfch-quick-blue{background:linear-gradient(145deg,#eaf2ff,#fff)}.nfch-quick-purple{background:linear-gradient(145deg,#f2edff,#fff)}.nfch-quick-green{background:linear-gradient(145deg,#e9f9f0,#fff)}.nfch-page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.nfch-page-head span{font-size:10px;color:var(--hub-blue);font-weight:800}.nfch-page-head h1{margin:2px 0 0;font-size:24px;color:var(--hub-ink)}.nfch-empty-state{min-height:220px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:18px;background:linear-gradient(145deg,#f7f9ff,#fff);border:1px dashed #dce3f0}.nfch-empty-orb{width:54px;height:54px;margin-bottom:10px;border-radius:18px;background:linear-gradient(135deg,rgba(36,87,255,.14),rgba(112,76,255,.15))}.nfch-empty-state h3{margin:0 0 5px}.nfch-empty-state p{max-width:480px;margin:0 0 13px;color:var(--hub-muted);font-size:12px;line-height:1.8}.nfch-payment-list-page{display:flex;flex-direction:column}.nfch-payment-line{display:grid;grid-template-columns:minmax(0,1fr) 130px 150px auto;gap:12px;align-items:center;padding:13px 3px;border-top:1px solid var(--hub-line)}.nfch-payment-line strong{display:block;font-size:12px}.nfch-payment-line small{display:block;margin-top:3px;color:var(--hub-muted);font-size:9px}.nfch-payment-line>span,.nfch-payment-line>b{font-size:11px}.nfch-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nfch-account-grid>div{padding:14px;border-radius:13px;background:#f8faff;border:1px solid var(--hub-line)}.nfch-account-grid small,.nfch-account-grid strong{display:block}.nfch-account-grid small{font-size:9px;color:var(--hub-muted)}.nfch-account-grid strong{margin-top:4px;font-size:12px}.nfch-app .nfch-card{background:#fff;border:1px solid var(--hub-line);box-shadow:0 10px 28px rgba(19,35,74,.05)}.nfch-app .nfch-notifications{margin:0;box-shadow:none;border:0;padding:0}
@media(max-width:1080px){.nfch-topbar-nav{display:none}.nfch-app-body{grid-template-columns:220px minmax(0,1fr)}.nfch-kpi-grid,.nfch-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nfch-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:760px){.nfch-app{width:calc(100% - 10px);margin:6px auto 18px;border-radius:18px}.nfch-topbar{min-height:62px;padding:0 10px}.nfch-topbar-user span{display:none}.nfch-app-body{display:block}.nfch-sidebar{padding:8px;border-left:0;border-bottom:1px solid var(--hub-line)}.nfch-sidebar-profile,.nfch-sidebar-stats,.nfch-sidebar-help{display:none}.nfch-side-nav{flex-direction:row;overflow-x:auto;padding-bottom:3px}.nfch-side-nav a{min-width:max-content;min-height:39px;padding:0 10px}.nfch-side-icon{display:none}.nfch-app-main{padding:11px}.nfch-dashboard-hero{min-height:130px;padding:18px}.nfch-dashboard-hero h1{font-size:21px}.nfch-hero-art{display:none}.nfch-kpi-grid,.nfch-quick-grid{grid-template-columns:1fr 1fr;gap:8px}.nfch-kpi{min-height:96px;padding:12px}.nfch-kpi strong{font-size:22px}.nfch-home-project{grid-template-columns:1fr 80px 35px}.nfch-payment-line{grid-template-columns:1fr;gap:5px}.nfch-account-grid{grid-template-columns:1fr}}

/* v0.1.29 Partner Panel Bridge */
.nfch-quick-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.nfch-quick-partner{background:linear-gradient(145deg,#eaf4ff,#f3efff 55%,#fff)}
.nfch-quick-partner span{color:#2457ff}
@media(max-width:1180px){.nfch-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.nfch-quick-grid{grid-template-columns:1fr 1fr}}

/* =========================================================
   v0.1.30 — Single Navigation + Dynamic Partner Link
   The public NeoForge site header is the only top navigation.
   ========================================================= */
.nfch-app{
  margin-top:18px;
}
.nfch-topbar{
  display:none !important;
}
.nfch-app-body{
  min-height:720px;
}
@media(max-width:760px){
  .nfch-app{
    margin-top:8px;
  }
}


/* v0.1.31 — WooCommerce Account Bridge */
.nfch-commerce-list,.nfch-download-list,.nfch-license-list{display:flex;flex-direction:column}
.nfch-commerce-row,.nfch-download-row{
  display:grid;grid-template-columns:minmax(0,1fr) 150px 150px auto;
  gap:12px;align-items:center;padding:14px 4px;border-top:1px solid var(--hub-line);
}
.nfch-commerce-main strong,.nfch-commerce-main small{display:block}
.nfch-commerce-main small{margin-top:4px;color:var(--hub-muted);font-size:10px}
.nfch-commerce-status{font-size:11px;font-weight:800}
.nfch-commerce-total{font-size:11px}
.nfch-mini-link{font-size:10px;font-weight:800;color:var(--hub-blue)!important;text-decoration:none!important}
.nfch-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.nfch-product-card{display:flex;gap:12px;padding:14px;border:1px solid var(--hub-line);border-radius:16px;background:#fbfcff}
.nfch-product-thumb{width:72px;min-width:72px;height:72px;border-radius:12px;overflow:hidden;background:#eef2f8}
.nfch-product-thumb img{width:100%;height:100%;object-fit:cover;margin:0}
.nfch-product-content span{font-size:9px;color:var(--hub-blue);font-weight:800}
.nfch-product-content h3{font-size:13px;margin:4px 0;color:var(--hub-ink)}
.nfch-product-content small{font-size:9px;color:var(--hub-muted)}
.nfch-product-actions{display:flex;gap:10px;margin-top:8px;flex-wrap:wrap}
.nfch-commerce-split{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.nfch-commerce-split>.nfch-card{margin:0}
.nfch-download-row{grid-template-columns:minmax(0,1fr) auto}
.nfch-download-row strong,.nfch-download-row small{display:block}
.nfch-download-row small{margin-top:4px;color:var(--hub-muted);font-size:9px}
.nfch-license-order{padding:13px 0;border-top:1px solid var(--hub-line)}
.nfch-license-order-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px}
.nfch-license-native{padding:10px;border-radius:12px;background:#f8faff;border:1px solid var(--hub-line);overflow:auto}
.nfch-license-native table{width:100%;font-size:11px}
.nfch-license-fallback{padding:11px;border-radius:12px;background:#f8faff;border:1px solid var(--hub-line)}
.nfch-license-fallback strong{display:block;font-size:12px}
.nfch-license-fallback p{font-size:10px;color:var(--hub-muted);margin:5px 0 8px}
@media(max-width:1080px){
  .nfch-product-grid{grid-template-columns:1fr 1fr}
  .nfch-commerce-split{grid-template-columns:1fr}
}
@media(max-width:760px){
  .nfch-commerce-row{grid-template-columns:1fr;gap:5px}
  .nfch-product-grid{grid-template-columns:1fr}
  .nfch-product-card{align-items:flex-start}
  .nfch-download-row{grid-template-columns:1fr}
}


/* v0.1.33 — Notification / message routing hotfix */
#nfch-messages{scroll-margin-top:90px}
.nfch-msg{scroll-margin-top:100px}
.nfch-msg:target{
  outline:2px solid rgba(96,124,255,.45);
  box-shadow:0 0 0 5px rgba(96,124,255,.08);
  border-radius:12px;
}


/* v0.1.36 — Notification deep-link destinations */
#nfch-project-top,
#nfch-requirements,
#nfch-files,
#nfch-timeline,
#nfch-payments,
#nfch-messages,
[id^="nfch-requirement-"],
[id^="nfch-message-"]{
  scroll-margin-top:100px;
}
[id^="nfch-requirement-"]:target,
[id^="nfch-message-"]:target{
  outline:2px solid rgba(96,124,255,.42);
  box-shadow:0 0 0 5px rgba(96,124,255,.08);
  border-radius:12px;
}

/* v0.1.39 — submitted requirement state */
.nfch-approval-result.is-submitted{
  background:#eef4ff;
  border:1px solid #b8c9ff;
  color:#244a9b;
}


/* v0.1.42 — Admin new-file visibility */
.nfch-admin-file-new{
  background:#fff8f2 !important;
  box-shadow:inset -4px 0 0 #ff7a00;
}
.nfch-new-file-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:20px;
  padding:0 7px;
  margin-right:7px;
  border-radius:999px;
  background:#d92d20;
  color:#fff;
  font-size:10px;
  font-weight:800;
  line-height:1;
  vertical-align:middle;
  box-shadow:0 2px 8px rgba(217,45,32,.18);
}


/* v0.1.45 — prominent customer Next Action */
.nfch-next.nfch-next-required{
  position:relative;
  overflow:hidden;
  margin:18px 0 20px;
  padding:18px 20px;
  border:2px solid rgba(96,124,255,.42);
  border-radius:18px;
  background:
    radial-gradient(circle at 0 0, rgba(96,124,255,.13) 0 64px, transparent 65px),
    linear-gradient(135deg,#f7f9ff 0%,#eef2ff 48%,#f8f6ff 100%);
  box-shadow:0 12px 32px rgba(72,88,180,.10);
}
.nfch-next.nfch-next-required:before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:6px;
  height:100%;
  background:linear-gradient(180deg,#607cff,#765cff);
}
.nfch-next-head{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:9px;
}
.nfch-next-head>div{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.nfch-next-pulse{
  position:relative;
  width:13px;
  height:13px;
  margin-top:5px;
  border-radius:50%;
  background:#607cff;
  box-shadow:0 0 0 0 rgba(96,124,255,.38);
  animation:nfchNextPulse 1.8s ease-out infinite;
  flex:0 0 13px;
}
.nfch-next-badge{
  display:inline-flex;
  width:max-content;
  align-items:center;
  border-radius:999px;
  padding:4px 9px;
  background:#607cff;
  color:#fff;
  font-size:10px;
  font-weight:800;
  line-height:1;
}
.nfch-next.nfch-next-required strong{
  color:#1e2a5a;
  font-size:17px;
  line-height:1.5;
}
.nfch-next.nfch-next-required p{
  margin:8px 25px 5px 0;
  color:#121a3a;
  font-size:17px;
  font-weight:800;
  line-height:1.9;
}
.nfch-next.nfch-next-required small{
  display:block;
  margin-right:25px;
  color:#667085;
  font-size:11px;
  line-height:1.7;
}
@keyframes nfchNextPulse{
  0%{box-shadow:0 0 0 0 rgba(96,124,255,.38)}
  70%{box-shadow:0 0 0 9px rgba(96,124,255,0)}
  100%{box-shadow:0 0 0 0 rgba(96,124,255,0)}
}
@media(max-width:760px){
  .nfch-next.nfch-next-required{
    padding:15px 16px;
    border-radius:15px;
  }
  .nfch-next.nfch-next-required p{
    margin-right:0;
    font-size:15px;
  }
  .nfch-next.nfch-next-required small{
    margin-right:0;
  }
}
@media (prefers-reduced-motion: reduce){
  .nfch-next-pulse{animation:none}
}


/* v0.1.46 — stronger next-action emphasis */
.nfch-next.nfch-next-required .nfch-next-badge{
  background:#dc2626;
}
.nfch-next.nfch-next-required .nfch-next-pulse{
  background:#dc2626;
  box-shadow:0 0 0 0 rgba(220,38,38,.34);
}
.nfch-next.nfch-next-required strong{
  color:#b91c1c;
}
.nfch-next.nfch-next-required p{
  color:#b91c1c;
}
@keyframes nfchNextPulseRed{
  0%{box-shadow:0 0 0 0 rgba(220,38,38,.34)}
  70%{box-shadow:0 0 0 9px rgba(220,38,38,0)}
  100%{box-shadow:0 0 0 0 rgba(220,38,38,0)}
}
.nfch-next.nfch-next-required .nfch-next-pulse{
  animation:nfchNextPulseRed 1.8s ease-out infinite;
}
@media (prefers-reduced-motion: reduce){
  .nfch-next.nfch-next-required .nfch-next-pulse{animation:none}
}


/* v0.1.48 — notification state colors */
.nfch-notification-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  margin-top:7px;
  flex:0 0 auto;
  transition:background .18s ease, box-shadow .18s ease, opacity .18s ease;
}

/* Unread = urgent red */
.nfch-notification.is-unread .nfch-notification-dot{
  background:#dc2626 !important;
  box-shadow:0 0 0 4px rgba(220,38,38,.11) !important;
}
.nfch-notification.is-unread strong{
  font-weight:800;
}

/* Read = muted blue, not active */
.nfch-notification.is-read{
  opacity:.78;
}
.nfch-notification.is-read .nfch-notification-dot{
  background:#a9b8d6 !important;
  box-shadow:none !important;
  opacity:.8;
}
.nfch-notification.is-read strong{
  font-weight:650;
}


/* v0.1.50 — Support Tickets MVP */
.nfch-support-layout{grid-template-columns:1.15fr .85fr}
.nfch-ticket-list{display:flex;flex-direction:column}
.nfch-ticket-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:14px 4px;
  border-top:1px solid var(--hub-line);
  color:inherit!important;
  text-decoration:none!important;
}
.nfch-ticket-item:hover{background:#fafbff}
.nfch-ticket-item strong,
.nfch-ticket-item span,
.nfch-ticket-item small{display:block}
.nfch-ticket-item span{margin-top:4px;font-size:12px}
.nfch-ticket-item small{margin-top:4px;color:var(--hub-muted);font-size:10px}
.nfch-ticket-item-meta{text-align:left}
.nfch-ticket-status{
  display:inline-flex!important;
  width:max-content;
  padding:4px 8px;
  border-radius:999px;
  font-size:10px!important;
  font-weight:800;
}
.nfch-ticket-status.status-open{background:#eef4ff;color:#2457ff}
.nfch-ticket-status.status-in_review{background:#fff7e8;color:#8d5200}
.nfch-ticket-status.status-waiting_customer{background:#f2edff;color:#6b46c1}
.nfch-ticket-status.status-closed{background:#edf9f0;color:#23663a}

.nfch-ticket-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.nfch-ticket-summary>div{
  padding:12px;
  border-radius:12px;
  background:#f8faff;
  border:1px solid var(--hub-line);
}
.nfch-ticket-summary small,
.nfch-ticket-summary strong{display:block}
.nfch-ticket-summary small{color:var(--hub-muted);margin-bottom:5px}

.nfch-ticket-thread{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:12px 0 18px;
}
.nfch-ticket-reply{
  max-width:86%;
  padding:13px 14px;
  border-radius:16px;
  border:1px solid var(--hub-line);
}
.nfch-ticket-reply.is-customer{
  align-self:flex-start;
  background:#f7f8fb;
}
.nfch-ticket-reply.is-admin{
  align-self:flex-end;
  background:#eef2ff;
  border-color:#cfd8ff;
}
.nfch-ticket-reply-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.nfch-ticket-reply-head small{
  color:var(--hub-muted);
  font-size:9px;
}
.nfch-ticket-reply p{
  margin:8px 0;
  line-height:1.9;
}
@media(max-width:760px){
  .nfch-support-layout{grid-template-columns:1fr}
  .nfch-ticket-summary{grid-template-columns:1fr}
  .nfch-ticket-reply{max-width:100%}
}
