/* SENSE Portal styles — extracted verbatim from the portal design (sense-portal-login.html).
   Embedded hero photos for the public pages were removed; everything else is unchanged. */
  :root{
    --ink:#14232b;        /* deep navy — nav / hero overlay base */
    --dark:#3d6475;       /* primary dark teal — headings, buttons */
    --teal:#5a9aaa;       /* accent teal — links, icons */
    --pale:#eaf2f5;       /* pale blue — light backgrounds */
    --slate:#7a9baa;      /* muted slate blue — section backgrounds */
    --white:#ffffff;
    --line:#d7e4e8;
    --muted:#5c7480;
    --body-text:#43606c;
    --radius:6px;
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter',sans-serif;
    color:var(--dark);
    background:var(--white);
    line-height:1.6;
    text-wrap:pretty;
    display:flex;
    flex-direction:column;
    min-height:100vh;
  }
  .page-view{display:flex; flex-direction:column; flex:1 0 auto;}
  footer{flex:0 0 auto;}
  a{text-decoration:none;color:inherit;}
  img{display:block;max-width:100%;}
  ul{list-style:none;}
  button{font-family:inherit;cursor:pointer;border:none;background:none;}
  :focus-visible{outline:2px solid var(--teal); outline-offset:2px;}

  /* ---------- NAV ---------- */
  header{
    position:absolute; top:0; left:0; right:0;
    max-width:1440px; margin:0 auto;
    display:flex; align-items:center; justify-content:space-between;
    padding:28px 56px;
    z-index:10;
  }
  .logo{display:flex; align-items:center; gap:10px; color:var(--white); font-weight:700; font-size:1.05rem;}
  .logo svg{width:34px;height:34px;}
  nav ul{display:flex; gap:40px;}
  nav a{
    color:var(--white);
    font-size:0.92rem;
    font-weight:500;
    letter-spacing:0.03em;
    padding-bottom:4px;
    transition:opacity .2s ease;
  }
  nav a:hover{opacity:0.75;}
  nav a.active{
    text-decoration:underline;
    text-underline-offset:6px;
  }
  .nav-login-btn{
    background:var(--teal);
    color:var(--white) !important;
    padding:9px 20px;
    border-radius:6px;
    transition:background .2s ease, opacity .2s ease;
  }
  .nav-login-btn:hover{background:var(--dark); opacity:1;}
  .nav-login-btn.active{text-decoration:none !important;}

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    text-align:center;
    overflow:hidden;
    background-color:var(--ink);
    background:
      linear-gradient(180deg, rgba(20,35,43,0.6) 0%, rgba(20,35,43,0.5) 45%, rgba(20,35,43,0.72) 100%),
      none center/cover no-repeat;
  }
  .hero-placeholder-tag{
    position:absolute; top:16px; left:50%; transform:translateX(-50%);
    background:rgba(255,255,255,0.12); border:1px dashed rgba(255,255,255,0.5);
    color:var(--white); font-size:0.72rem; letter-spacing:0.06em;
    padding:6px 14px; border-radius:20px;
  }
  .hero-content{max-width:760px; position:relative; z-index:2;}
  .hero h1{
    color:var(--white);
    font-size:3.6rem;
    font-weight:800;
    letter-spacing:-0.02em;
    margin-bottom:22px;
  }
  .hero p{
    color:rgba(255,255,255,0.92);
    font-size:1.1rem;
    font-style:italic;
    max-width:640px;
    margin:0 auto 34px;
  }
  .hero-cta-row{display:flex; align-items:center; justify-content:center; gap:16px; flex-wrap:wrap;}
  .hero-cta{
    display:inline-flex; align-items:center; gap:8px;
    background:var(--teal);
    color:var(--white);
    font-size:0.92rem; font-weight:700;
    padding:13px 26px;
    border-radius:4px;
    transition:opacity .2s ease, transform .2s ease;
  }
  .hero-cta:hover{opacity:0.88; transform:translateY(-1px);}
  .hero-cta.secondary{
    background:transparent;
    border:1.5px solid rgba(255,255,255,0.7);
  }
  .hero-cta.secondary:hover{background:rgba(255,255,255,0.1);}
  .hero-cta-tags{display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:center;}
  .hero-mini-tag{
    font-size:0.76rem; font-weight:700; color:var(--white);
    background:rgba(255,255,255,0.18); padding:9px 16px; border-radius:20px;
    white-space:nowrap; border:none; cursor:pointer;
    transition:background .2s ease, transform .2s ease;
  }
  .hero-mini-tag:hover{background:rgba(255,255,255,0.3); transform:translateY(-1px);}

  /* ---------- SECTION SHELL ---------- */
  .section-wrap{padding:36px 40px; max-width:1440px; margin:0 auto;}
  #opportunities{padding-top:72px;}
  #projects{padding-bottom:90px;}
  .section-card{
    border-radius:20px;
    padding:56px 48px 64px;
    border:1px solid rgba(20,35,43,0.05);
    border-top:5px solid transparent;
  }
  .card-org{background:#eef3f4; border-top-color:var(--slate);}
  .card-projects{background:var(--pale); border-top-color:var(--teal);}
  .card-involved{background:#f2f4f5; border-top-color:var(--dark);}

  .engagement-tag{font-size:0.78rem; font-weight:800; padding:5px 14px; border-radius:20px; display:inline-block;}
  .opp-engagement-row .engagement-tag{cursor:pointer; transition:opacity .15s ease;}
  .opp-engagement-row .engagement-tag:hover{opacity:0.8;}
  .engagement-internship{background:#e2eef1; color:#2d5f6e;}
  .engagement-volunteer{background:#e6eaf0; color:#3d5570;}
  .engagement-paid{background:var(--dark); color:var(--white);}

  .engagement-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; margin:0 auto;}
  .engagement-card{
    border:1px solid rgba(255,255,255,0.4); border-radius:14px;
    background:var(--white);
    overflow:hidden;
    display:flex; flex-direction:column;
    padding:26px 24px 0;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    box-shadow:0 4px 24px rgba(20,35,43,0.06);
  }
  .engagement-card-internship{background:rgba(210,232,234,0.6);}
  .engagement-card-volunteer{background:rgba(214,220,239,0.6);}
  .engagement-card-paid{background:rgba(223,217,239,0.6);}
  .ec-header{display:flex; align-items:center; gap:12px; margin-bottom:14px;}
  .ec-icon{width:42px; height:42px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center;
    background:var(--white); color:var(--dark);}
  .ec-icon svg{width:20px; height:20px;}
  .ec-header .engagement-tag{background:var(--white); color:var(--dark);}
  .ec-headline{font-size:1.08rem; font-weight:800; color:var(--ink); line-height:1.3; margin-bottom:8px;}
  .ec-subtitle{font-size:0.85rem; color:var(--body-text); line-height:1.5; margin-bottom:18px;}
  .ec-divider{border:none; border-top:1px solid rgba(20,35,43,0.1); margin:0 0 18px;}
  .ec-section{margin-bottom:18px;}
  .ec-section-title{display:flex; align-items:center; gap:7px; font-size:0.8rem; font-weight:800; margin-bottom:10px; color:var(--dark);}
  .ec-section-title svg{width:15px; height:15px;}
  .ec-pill-row{display:flex; flex-wrap:wrap; gap:8px;}
  .ec-pill{font-size:0.76rem; font-weight:700; padding:5px 12px; border-radius:20px; background:var(--white); color:var(--dark);}
  .ec-gain-grid{display:grid; grid-template-columns:1fr 1fr; gap:8px;}
  .ec-gain{font-size:0.75rem; font-weight:600; padding:6px 10px; border-radius:20px; line-height:1.3; background:var(--white); color:var(--dark);}
  .track-detail-card .ec-gain{background:var(--pale);}
  .ec-desc{font-size:0.85rem; color:var(--body-text); line-height:1.6; margin-bottom:20px;}
  .ec-footer{
    display:flex; align-items:center; gap:10px;
    margin:auto -24px 0; padding:14px 24px;
    font-size:0.82rem; font-weight:600; color:var(--body-text);
    background:rgba(255,255,255,0.55);
  }
  .ec-footer-badge{font-size:0.76rem; font-weight:800; padding:4px 12px; border-radius:20px; background:var(--ink); color:var(--white);}
  .ec-note{
    display:flex; flex-direction:column; gap:8px;
    max-width:1100px; margin:0 auto 32px;
    background:var(--pale); border-radius:12px; padding:16px 20px;
    color:var(--dark);
  }
  .ec-note-row{display:flex; align-items:flex-start; gap:12px;}
  .ec-note svg{width:20px; height:20px; flex-shrink:0; margin-top:2px; color:var(--teal);}
  .ec-note p{font-size:0.86rem; color:var(--body-text); line-height:1.5; margin:0;}
  .ec-note-highlight{font-weight:800; color:var(--dark);}

  .section-intro.program-intro{max-width:820px; margin:0 auto 8px; text-align:center;}
  .section-intro p.tracks-note{font-size:0.98rem; color:var(--body-text); margin-bottom:36px; white-space:normal;}
  .program-card{
    border:1px solid var(--line); border-radius:14px;
    padding:32px 36px; text-align:left;
    background:var(--white);
    margin-bottom:48px;
  }
  .program-card h3{font-size:1.3rem; font-weight:800; color:var(--ink); margin-bottom:14px;}
  .program-meta{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px;}
  .program-meta span{
    font-size:0.78rem; font-weight:700; color:var(--dark);
    background:var(--pale); padding:5px 12px; border-radius:20px;
  }
  .program-card p{font-size:0.94rem; color:var(--body-text); line-height:1.65;}
  .program-card p + p{margin-top:10px;}
  .section-intro{max-width:900px; margin:0 auto 56px; text-align:center;}
  #ways-to-get-involved .section-intro{margin-bottom:28px;}
  #ways-to-get-involved .ec-note{margin-bottom:36px;}
  .section-intro h2{font-size:2rem; font-weight:800; margin-bottom:14px; color:var(--ink);}
  .section-intro p{font-size:1rem; color:var(--body-text); white-space:nowrap;}
  .section-intro p.wrap-text{white-space:normal; font-size:0.92rem;}

  /* ---------- ORG-WIDE SECTION ---------- */
  .section-wrap.tight{padding-top:0;}
  .section-divider{border:none; border-top:1px solid var(--line); max-width:1440px; margin:0 auto;}

  /* ---------- CATEGORY COLUMNS (project overview) ---------- */
  .category-columns{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:56px;
    align-items:start;
  }
  .category-col-header{
    display:flex; align-items:center; gap:12px;
    margin-bottom:22px; padding-bottom:16px;
    border-bottom:2px solid rgba(20,35,43,0.1);
  }
  .category-col-header .cat-icon{
    width:38px; height:38px; border-radius:50%;
    background:var(--white); flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
  }
  .category-col-header .cat-icon svg{width:20px; height:20px;}
  .category-col-header h3{font-size:1.2rem; font-weight:800; color:var(--ink);}
  .category-col-header p{font-size:0.82rem; color:var(--muted); margin-top:2px;}

  /* ---------- COMPACT PROJECT CARD ---------- */
  .project-card-compact{
    border:1px solid var(--line);
    border-left:4px solid var(--teal);
    border-radius:10px;
    padding:24px 24px 22px;
    margin-bottom:20px;
    background:var(--white);
    display:flex;
    flex-direction:column;
    transition:border-color .2s ease, box-shadow .2s ease;
  }
  .category-col#colClimate .project-card-compact{border-left-color:var(--slate);}
  #colSocialRoot .project-card-compact:nth-child(2),
  #colClimateRoot .project-card-compact:nth-child(2){
    margin-top:28px;
  }
  .project-card-compact:hover{box-shadow:0 4px 16px rgba(20,35,43,0.08);}
  .compact-top{display:flex; align-items:flex-start; gap:14px; margin-bottom:16px;}
  .compact-icon{
    width:48px; height:48px; border-radius:8px; flex-shrink:0;
    background:linear-gradient(150deg, var(--slate), var(--dark));
    display:flex; align-items:center; justify-content:center;
    overflow:hidden;
  }
  .compact-icon.has-image{background:var(--pale); padding:5px;}
  .compact-icon svg{width:24px; height:24px; opacity:0.9;}
  .compact-top h4{font-size:1.2rem; font-weight:800; color:var(--ink); letter-spacing:-0.01em; line-height:1.25;}
  .compact-top .compact-tagline{
    font-size:0.74rem; color:var(--teal); font-weight:700;
    text-transform:uppercase; letter-spacing:0.05em; margin-top:4px;
  }
  .compact-oneliner{font-size:0.92rem; color:var(--body-text); line-height:1.55; margin-bottom:18px;}
  .compact-roles-panel{
    background:var(--pale);
    border-radius:8px;
    padding:14px 16px 16px;
    margin-bottom:18px;
  }
  .role-chip-label{
    font-size:0.7rem; font-weight:800; text-transform:uppercase; letter-spacing:0.06em;
    color:var(--dark); margin-bottom:10px;
  }
  .role-chip-list{display:flex; flex-wrap:wrap; gap:8px;}
  #organizationalRolesRoot{
    display:grid; grid-template-columns:1fr 1fr; gap:16px;
  }
  #organizationalRolesRoot .role-chip-card{width:auto;}
  .role-chip-card{
    background:var(--white); border:1px solid var(--line); border-radius:10px;
    padding:12px 14px;
    display:flex; flex-direction:column; gap:8px;
    transition:border-color .2s ease;
    width:100%;
  }
  .role-chip-card:hover{border-color:var(--teal);}
  .role-chip-name{font-size:0.85rem; font-weight:700; color:var(--dark);}
  .role-chip-badges{display:flex; flex-wrap:wrap; gap:5px;}
  .role-chip-badges .engagement-tag{font-size:0.68rem; padding:3px 10px;}
  .position-chip-apply{align-self:flex-start; font-size:0.76rem; padding:6px 14px;}
  .compact-actions-top{
    display:flex; align-items:center;
    padding-bottom:14px; margin-bottom:14px; border-bottom:1px solid var(--line);
  }
  .compact-actions{
    display:flex; align-items:center; justify-content:space-between;
    padding-top:16px; border-top:1px solid var(--line);
    margin-top:auto;
  }

  /* ---------- PROJECT DETAIL PAGE ---------- */
  #projectsDetail{display:none;}
  .detail-back{
    display:inline-flex; align-items:center; gap:6px;
    color:var(--teal); font-weight:700; font-size:0.88rem;
    margin-bottom:28px;
  }
  .detail-back:hover{opacity:0.75;}

  /* ---------- PROJECT BLOCK (used inside detail page) ---------- */
  .project-head{
    display:grid;
    grid-template-columns:340px 1fr;
    gap:48px;
    align-items:center;
    margin-bottom:36px;
  }
  .project-visual{
    aspect-ratio:4/3;
    border-radius:10px;
    background:linear-gradient(150deg, var(--slate), var(--dark));
    display:flex; align-items:center; justify-content:center;
    position:relative;
    overflow:hidden;
  }
  .project-visual.has-image{background:var(--pale); padding:24px;}
  .project-visual .placeholder-label{
    color:rgba(255,255,255,0.85);
    font-size:0.72rem;
    letter-spacing:0.06em;
    border:1px dashed rgba(255,255,255,0.5);
    padding:6px 14px;
    border-radius:20px;
    text-align:center;
  }
  .project-visual svg{width:56px; height:56px; opacity:0.35; position:absolute;}

  .project-eyebrow{
    font-size:0.8rem; font-weight:700; letter-spacing:0.06em;
    text-transform:uppercase; color:var(--teal); margin-bottom:8px;
  }
  .project-info h3{font-size:1.7rem; font-weight:800; color:var(--ink); margin-bottom:12px;}
  .project-info p.desc{color:var(--body-text); font-size:0.98rem; margin-bottom:16px; max-width:640px;}
  .project-links{display:flex; flex-wrap:wrap; align-items:center; gap:20px;}
  .project-link{
    display:inline-flex; align-items:center; gap:6px;
    color:var(--dark); font-weight:700; font-size:0.9rem;
    border-bottom:1.5px solid var(--teal); padding-bottom:2px;
    transition:opacity .2s ease;
  }
  .project-link:hover{opacity:0.7;}
  .project-link.mvp-link{
    border-bottom:none;
    background:var(--ink); color:var(--white);
    padding:9px 18px; border-radius:4px;
  }
  .project-link.mvp-link:hover{opacity:0.85;}
  .project-link.video-link{
    border-bottom:none;
    background:transparent; color:var(--dark);
    border:1.5px solid var(--dark);
    padding:8px 18px; border-radius:4px;
  }
  .project-link.video-link:hover{background:var(--dark); color:var(--white); opacity:1;}

  .roles-label{
    font-size:0.82rem; font-weight:700; letter-spacing:0.05em; text-transform:uppercase;
    color:var(--muted); margin:8px 0 16px;
  }

  /* ---------- POSITION / TRACK DETAIL PAGE ---------- */
  .position-header{margin:8px 0 20px;}
  .position-header h3{font-size:1.6rem; font-weight:800; color:var(--ink); margin-top:6px;}
  .track-select-row{
    margin:24px 0 8px; padding:20px; background:var(--pale); border-radius:12px;
  }
  .track-select-label{font-size:0.85rem; font-weight:700; color:var(--dark); margin-bottom:12px;}
  .track-select-buttons{display:flex; flex-wrap:wrap; gap:10px;}
  .track-select-btn{
    font-size:0.88rem; font-weight:700; color:var(--dark);
    background:var(--white); border:2px solid var(--line); border-radius:10px;
    padding:10px 20px; cursor:pointer; transition:border-color .2s ease, background .2s ease;
  }
  .track-select-btn:hover{border-color:var(--teal);}
  .track-select-btn.active{background:var(--ink); border-color:var(--ink); color:var(--white);}
  .track-detail-card{
    margin-top:20px; padding:24px; border:1px solid var(--line); border-radius:12px;
    background:var(--white);
  }
  .track-detail-card h4{font-size:1.1rem; font-weight:800; color:var(--ink); margin-bottom:12px;}
  .track-detail-card h5{
    font-size:0.86rem; font-weight:700; color:var(--ink);
    text-transform:uppercase; letter-spacing:0.04em;
    margin:22px 0 10px;
  }
  .track-detail-card ul{margin:0; padding:0; list-style:none;}
  .track-detail-card li{
    font-size:0.92rem; color:var(--body-text); line-height:1.5;
    padding-left:16px; position:relative; margin-bottom:8px;
  }
  .track-detail-card li::before{
    content:"–"; position:absolute; left:0; color:var(--teal);
  }
  .track-position-desc{font-size:0.92rem; color:var(--body-text); line-height:1.6; margin-bottom:14px;}
  .track-engagement-line{
    display:inline-block; font-size:0.82rem; font-weight:700; color:var(--dark);
    background:var(--pale); padding:7px 16px; border-radius:20px; margin-bottom:14px;
  }
  .track-note{font-size:0.86rem; color:var(--body-text); line-height:1.6; margin-bottom:16px; padding:12px 14px; background:var(--pale); border-radius:8px;}
  .track-cert-note{font-size:0.86rem; color:var(--dark); font-weight:600; line-height:1.6; margin-top:14px;}
  .start-btn{margin-top:20px;}

  /* ---------- OPPORTUNITY CARD ---------- */
  .opp-card{
    border:1px solid var(--line);
    border-radius:8px;
    margin-bottom:14px;
    background:var(--white);
    overflow:hidden;
    transition:border-color .2s ease;
  }
  .opp-card:hover{border-color:var(--teal);}
  .opp-summary{
    display:flex; align-items:flex-start; justify-content:space-between; gap:24px;
    padding:20px 22px;
    cursor:pointer;
  }
  .opp-main h4{font-size:1.08rem; font-weight:700; color:var(--ink); margin-bottom:8px;}
  .opp-engagement-row{display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px;}
  .opp-tags{display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px;}
  .tag{
    font-size:0.72rem; font-weight:600; color:var(--dark);
    background:var(--pale); padding:3px 10px; border-radius:20px;
    white-space:nowrap;
  }
  .tag.tag-cat{background:var(--dark); color:var(--white);}
  .tag.tag-pay{background:var(--teal); color:var(--white); font-weight:700;}
  .opp-desc{font-size:0.9rem; color:var(--body-text); max-width:560px;}
  .opp-actions{
    display:flex; flex-direction:column; align-items:flex-end; gap:10px;
    flex-shrink:0;
  }
  .opp-apply-row{display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end;}
  .opp-apply-row-top{
    justify-content:flex-start;
    padding-bottom:18px; margin-bottom:18px;
    border-bottom:1px solid var(--line);
  }
  .btn-apply.btn-apply-internship{background:var(--teal);}
  .btn-apply.btn-apply-volunteer{background:var(--dark);}
  .btn-apply.btn-apply-paid{background:var(--ink);}
  .link-toggle{
    display:inline-flex; align-items:center; gap:5px;
    font-size:0.82rem; font-weight:700; color:var(--teal);
    white-space:nowrap;
  }
  .link-toggle .chevron{transition:transform .2s ease; display:inline-block;}
  .opp-card.open .link-toggle .chevron{transform:rotate(180deg);}
  .btn-apply{
    display:inline-flex; align-items:center; gap:6px;
    background:var(--ink); color:var(--white);
    font-size:0.82rem; font-weight:700;
    padding:9px 18px; border-radius:4px;
    white-space:nowrap;
    transition:opacity .2s ease;
  }
  .btn-apply:hover{opacity:0.85;}
  .btn-apply.disabled{
    background:transparent; border:1.5px solid #b9c9d0; color:var(--muted);
    cursor:default; pointer-events:none;
  }

  .opp-details{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
    background:var(--pale);
  }
  .opp-details-inner{padding:6px 22px 26px;}
  .opp-details h5{
    font-size:0.86rem; font-weight:700; color:var(--ink);
    text-transform:uppercase; letter-spacing:0.04em;
    margin:18px 0 8px;
  }
  .opp-details p{font-size:0.92rem; color:var(--body-text); margin-bottom:4px;}
  .opp-details ul{margin:0;}
  .opp-details li{
    font-size:0.92rem; color:var(--body-text);
    padding-left:16px; position:relative; margin-bottom:6px;
  }
  .opp-details li::before{
    content:"–"; position:absolute; left:0; color:var(--teal);
  }
  .commitment-grid{
    display:grid; grid-template-columns:repeat(auto-fit, minmax(130px, 1fr)); gap:14px;
    background:var(--white); border-radius:6px; padding:16px; margin-top:8px;
  }
  .commitment-grid div span{display:block; font-size:0.72rem; color:var(--muted); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:4px;}
  .commitment-grid div strong{font-size:0.88rem; color:var(--ink); font-weight:700;}
  .opp-details-actions{
    display:flex; align-items:center; justify-content:space-between;
    margin-top:22px; padding-top:18px; border-top:1px solid var(--line);
  }

  /* ---------- GENERAL INTEREST ---------- */
  .general-section{
    background:var(--pale);
    padding:64px 56px;
    text-align:center;
  }
  .general-section h2{font-size:1.8rem; font-weight:800; color:var(--ink); margin-bottom:12px;}
  .general-section p{max-width:560px; margin:0 auto 26px; color:var(--body-text); font-size:0.98rem;}
  .btn-primary{
    display:inline-flex; align-items:center; gap:8px;
    background:var(--dark); color:var(--white);
    font-size:0.92rem; font-weight:700;
    padding:13px 28px; border-radius:4px;
    transition:opacity .2s ease;
  }
  .btn-primary:hover{opacity:0.88;}

  .transparency-note{
    max-width:820px; margin:0 auto; padding:32px 56px 0;
    font-size:0.82rem; color:var(--muted); text-align:center; font-style:italic;
  }

  /* ---------- FOOTER ---------- */
  footer{
    background:var(--ink); color:rgba(255,255,255,0.75);
    padding:36px 56px; margin-top:56px;
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
    font-size:0.82rem;
  }
  footer .logo{color:var(--white); font-size:0.95rem;}

  /* ---------- MODAL ---------- */
  .modal-overlay{
    display:none;
    position:fixed; inset:0; z-index:100;
    background:rgba(20,35,43,0.6);
    align-items:center; justify-content:center;
    padding:24px;
  }
  .modal-overlay.show{display:flex;}
  .modal{
    background:var(--white);
    border-radius:10px;
    max-width:560px; width:100%;
    max-height:88vh; overflow-y:auto;
    padding:36px 36px 30px;
    position:relative;
  }
  .modal-close{
    position:absolute; top:18px; right:18px;
    font-size:1.3rem; color:var(--muted); line-height:1;
    width:32px; height:32px; display:flex; align-items:center; justify-content:center;
    border-radius:50%; transition:background .2s ease;
  }
  .modal-close:hover{background:var(--pale);}
  .modal h3{font-size:1.4rem; font-weight:800; color:var(--ink); margin-bottom:6px;}
  .applying-for{
    background:var(--pale); border-radius:6px; padding:12px 16px;
    margin:16px 0 22px; font-size:0.88rem;
  }
  .applying-for strong{display:block; color:var(--ink); font-size:0.98rem; margin-bottom:2px;}
  .applying-for span{color:var(--muted);}
  .form-group{margin-bottom:16px;}
  .form-group label{
    display:flex; align-items:flex-end;
    min-height:2.6em; line-height:1.3;
    font-size:0.82rem; font-weight:700; color:var(--dark); margin-bottom:6px;
  }
  .form-group label .opt{font-weight:500; color:var(--muted); text-transform:none; margin-left:4px;}
  .form-group input, .form-group textarea, .form-group select{
    width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:6px;
    font-family:inherit; font-size:0.92rem; color:var(--dark);
  }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus{
    border-color:var(--teal);
  }
  .char-count{
    display:block; text-align:right; font-size:0.74rem; color:var(--muted); margin-top:5px;
  }
  .char-count.limit-reached{color:#b3402f;}
  .required-star{color:#c0392b; margin-left:3px; font-weight:700;}
  .worktype-info-link{font-weight:600; font-size:0.78rem; color:var(--teal); margin-left:6px; text-decoration:underline;}
  .worktype-info-link:hover{opacity:0.75;}
  .worktype-info-row{padding:12px 0; border-top:1px solid var(--line);}
  .worktype-info-row:first-of-type{border-top:none; padding-top:0;}
  .worktype-info-name{font-weight:800; color:var(--ink); font-size:0.94rem; margin-bottom:4px;}
  .worktype-info-desc{color:var(--body-text); font-size:0.86rem; line-height:1.45;}
  .form-group.field-error input,
  .form-group.field-error textarea,
  .form-group.field-error select{
    border-color:#c0392b; background:#fdf3f2;
  }
  .form-error-banner{
    display:none;
    align-items:center; gap:8px;
    background:#fdf3f2; border:1px solid #eec4bf; color:#a3342a;
    padding:11px 14px; border-radius:6px;
    font-size:0.84rem; font-weight:600;
    margin-bottom:16px;
  }
  .form-error-banner.show{display:flex;}
  .form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
  .checkbox-row{display:flex; flex-wrap:wrap; gap:10px;}
  .checkbox-pill{
    display:flex; align-items:center; gap:6px;
    border:1px solid var(--line); border-radius:20px; padding:6px 12px;
    font-size:0.82rem; color:var(--dark);
  }
  .checkbox-pill input{width:auto;}
  .form-submit{
    width:100%; background:var(--ink); color:var(--white);
    font-size:0.92rem; font-weight:700; padding:13px; border-radius:6px;
    margin-top:8px; transition:opacity .2s ease;
  }
  .form-submit:hover{opacity:0.88;}
  .confirmation{display:none; text-align:center; padding:20px 0;}
  .confirmation.show{display:block;}
  .confirmation .check{
    width:56px; height:56px; border-radius:50%; background:var(--pale);
    display:flex; align-items:center; justify-content:center; margin:0 auto 18px;
    color:var(--teal); font-size:1.6rem;
  }
  .confirmation h3{margin-bottom:8px;}
  .confirmation p{color:var(--body-text); font-size:0.92rem;}

  @media (max-width:900px){
    .hero{aspect-ratio:auto;}
  }

  @media (max-width:880px){
    header{padding:20px 24px;}
    nav ul{gap:16px; flex-wrap:wrap;}
    .hero{padding:150px 20px 60px;}
    .hero h1{font-size:2.5rem;}
    .section-wrap{padding:24px 16px;}
    #opportunities{padding-top:48px;}
    .section-card{padding:36px 22px 42px; border-radius:14px;}
    .section-intro p{white-space:normal;}
    .category-columns{grid-template-columns:1fr; gap:12px;}
    #organizationalRolesRoot{grid-template-columns:1fr;}
    .engagement-grid{grid-template-columns:1fr;}
    .ec-gain-grid{grid-template-columns:1fr;}
    .project-head{grid-template-columns:1fr; gap:20px;}
    .project-visual{aspect-ratio:16/9;}
    .opp-summary{flex-direction:column;}
    .opp-actions{flex-direction:row; align-items:center; width:100%; justify-content:space-between;}
    .commitment-grid{grid-template-columns:1fr 1fr;}
    .general-section{padding:48px 20px;}
    .form-row{grid-template-columns:1fr;}
    footer{padding:28px 20px; flex-direction:column; text-align:center;}
  }

  /* ==================================================
     PUBLIC TOOLS SECTION STYLES (merged from public-tools.html)
     ================================================== */
  /* ---------- HERO ---------- */
  .pt-hero{
    position:relative;
    aspect-ratio:16/9;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:100px 24px 60px;
    text-align:center;
    overflow:hidden;
    background:
      linear-gradient(180deg, rgba(20,35,43,0.72) 0%, rgba(20,35,43,0.55) 45%, rgba(20,35,43,0.8) 100%),
      none center/cover no-repeat;
  }
  .pt-hero-content{max-width:900px; position:relative; z-index:2;}
  .pt-hero h1{
    color:var(--white);
    font-size:4rem;
    font-weight:800;
    letter-spacing:-0.02em;
    margin-bottom:28px;
  }
  .pt-hero p{
    color:rgba(255,255,255,0.92);
    font-size:1.08rem;
    max-width:820px;
    margin:0 auto 16px;
    text-align:left;
  }

  /* ---------- INTRO / SECTION HEADER ---------- */
  .tools-section{
    background:var(--slate);
    padding:70px 56px 90px;
  }
  .pt-section-intro{
    max-width:760px;
    margin:0 auto 56px;
    text-align:center;
    color:var(--white);
  }
  .pt-section-intro h2{font-size:1.9rem; font-weight:700; margin-bottom:14px;}
  .pt-section-intro p{font-size:1rem; color:rgba(255,255,255,0.92);}

  /* ---------- TWO-COLUMN CATEGORY GRID ---------- */
  .category-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    max-width:1200px;
    margin:0 auto;
  }
  .pt-category-col{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.25);
    border-radius:12px;
    padding:32px;
  }
  .category-head{margin-bottom:24px;}
  .category-eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    color:#000000; font-size:0.94rem; font-weight:800;
    letter-spacing:0.08em; text-transform:uppercase;
    background:rgba(47,224,207,0.16);
    padding:7px 16px; border-radius:20px;
    margin-bottom:14px;
  }
  .category-head h3{color:var(--white); font-size:1.5rem; font-weight:700; margin-bottom:8px;}
  .category-head p{color:rgba(255,255,255,0.85); font-size:0.94rem;}

  /* ---------- TOOL CARD ---------- */
  .tool-card{
    background:var(--pale);
    border-radius:var(--radius);
    overflow:hidden;
    margin-bottom:20px;
    display:flex;
    align-items:stretch;
    box-shadow:0 6px 18px rgba(0,0,0,0.12);
  }
  .tool-card:last-child{margin-bottom:0;}
  .tool-visual{
    flex:0 0 128px;
    display:flex; align-items:center; justify-content:center;
    background:linear-gradient(135deg, var(--dark), var(--teal));
  }
  .tool-visual svg{width:52px; height:52px; stroke:var(--white); fill:none;}
  .tool-body{
    flex:1;
    padding:22px 24px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }
  .tool-top-row{display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:8px;}
  .tool-body h4{font-size:1.15rem; font-weight:700; color:var(--dark);}
  .badge{
    font-size:0.68rem; font-weight:700; letter-spacing:0.04em;
    padding:4px 10px; border-radius:20px; white-space:nowrap;
  }
  .badge.live{background:#e4f3e8; color:#2f7a4a;}
  .badge.soon{background:#f0e9d8; color:#9a7b2a;}
  .tool-body p.desc{font-size:0.9rem; color:#43606c; margin-bottom:16px;}
  .tool-cta-row{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
  }
  .tool-cta{
    display:inline-flex; align-items:center; justify-content:center; gap:5px;
    flex:0 0 auto;
    white-space:nowrap;
    background:var(--ink);
    color:var(--white);
    font-size:0.78rem; font-weight:700;
    padding:8px 14px;
    border-radius:4px;
    border:1.5px solid var(--ink);
    transition:opacity .2s ease, background .2s ease;
  }
  .tool-cta:hover{opacity:0.85;}
  .tool-cta.secondary{
    background:transparent;
    color:var(--dark);
    border:1.5px solid var(--dark);
  }
  .tool-cta.secondary:hover{background:rgba(61,100,117,0.08); opacity:1;}
  .tool-cta.disabled{
    background:transparent;
    border:1.5px solid #b9c9d0;
    color:#5c7480;
    cursor:default;
    pointer-events:none;
  }

  /* ---------- TOOL PROJECT OVERVIEW (framed card on the slate section) ---------- */
  .tool-detail-frame{
    max-width:1140px;
    margin:0 auto;
    background:rgba(234,242,245,0.72);
    border:1px solid rgba(255,255,255,0.55);
    border-radius:20px;
    padding:44px 40px;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow:0 12px 40px rgba(20,35,43,0.25);
  }
  .tool-detail-frame .project-head{max-width:none;}
  .tools-section .detail-back{color:var(--white);}

  /* ---------- PUBLIC TOOLS SECTION (responsive) ---------- */
  @media (max-width:880px){
    .pt-hero h1{font-size:2.6rem;}
    .tools-section{padding:50px 20px 60px;}
    .category-grid{grid-template-columns:1fr; gap:28px;}
    .tool-card{flex-direction:column;}
    .tool-visual{flex:0 0 90px; width:100%;}
    .tool-detail-frame{padding:28px 20px;}
  }

  /* ==================================================
     SENSE PORTAL — LOGIN
     ================================================== */
  .auth-header-band{
    height:170px;
    background:linear-gradient(180deg, rgba(20,35,43,0.55), rgba(20,35,43,0.8)), var(--ink);
  }
  .auth-wrap{
    flex:1;
    max-width:1440px; margin:0 auto; position:relative; z-index:2;
    padding:40px 24px;
    display:flex; align-items:center; justify-content:center;
  }
  .auth-card{
    width:100%; max-width:440px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:16px;
    padding:40px 36px;
    box-shadow:0 20px 50px rgba(20,35,43,0.18);
    margin-top:-90px;
  }
  .auth-eyebrow{
    font-size:0.72rem; font-weight:800; letter-spacing:0.08em;
    color:var(--teal); margin-bottom:10px;
  }
  .auth-card h2{font-size:1.6rem; font-weight:800; color:var(--ink); margin-bottom:8px;}
  .auth-sub{font-size:0.92rem; color:var(--body-text); margin-bottom:24px;}
  .auth-row{display:flex; justify-content:flex-end; margin:-6px 0 20px;}
  .auth-link{color:var(--teal); font-weight:700; font-size:0.86rem;}
  .auth-link:hover{opacity:0.75;}
  .auth-submit{width:100%; justify-content:center; margin-top:4px;}
  .auth-footnote{font-size:0.82rem; color:var(--muted); margin-top:22px; text-align:center;}

  /* ==================================================
     SENSE PORTAL — DASHBOARD / SUBNAV / PLACEHOLDER
     ================================================== */
  .portal-subnav{
    background:var(--pale);
    border-bottom:1px solid var(--line);
  }
  .portal-subnav-inner{
    max-width:1200px; margin:0 auto;
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
    padding:18px 24px;
  }
  .portal-brand{font-weight:800; color:var(--ink); font-size:1rem;}
  .portal-tabs{display:flex; gap:26px; list-style:none; flex-wrap:wrap;}
  .portal-tabs a{font-size:0.86rem; font-weight:600; color:var(--body-text);}
  .portal-tabs a:hover{color:var(--dark);}
  .portal-tabs a.active{color:var(--dark); text-decoration:underline; text-underline-offset:5px;}
  .portal-layout{
    display:flex; align-items:stretch;
  }
  .portal-sidebar{
    width:220px; flex:0 0 220px;
    background:var(--pale);
    border-right:1px solid var(--line);
    padding:28px 20px;
  }
  .portal-sidebar:empty{display:none; padding:0; border:none;}
  .portal-sidebar-label{
    font-size:0.68rem; font-weight:800; color:var(--teal); letter-spacing:0.06em;
    margin-bottom:14px; display:flex; align-items:center; gap:6px;
  }
  .portal-sidebar-nav{list-style:none; display:flex; flex-direction:column; gap:2px;}
  .portal-sidebar-nav a{
    display:block; padding:9px 12px; border-radius:6px;
    font-size:0.88rem; font-weight:600; color:var(--body-text);
  }
  .portal-sidebar-nav a:hover{background:rgba(255,255,255,0.7);}
  .portal-sidebar-nav a.active{background:var(--dark); color:var(--white);}
  .portal-content-inner{flex:1; min-width:0; padding:44px 32px 80px;}

  /* Every portal page (dashboard, tools, etc.) fills at least the
     viewport height minus the footer, so short-content pages don't
     leave a big gap before the footer — footer always sits near the
     bottom of the screen instead of floating right under the content. */
  /* Portal pages sit on a light neutral backdrop so the app "shell"
     (subnav + sidebar + content) reads as a distinct floating panel,
     not just another section of the marketing site. */
  .portal-page{
    background:#eef1f3;
  }
  .portal-page .portal-shell{flex:1; display:flex; flex-direction:column;}
  .portal-page .portal-layout{flex:1;}

  .portal-shell{
    max-width:1280px;
    width:calc(100% - 48px);
    margin:32px auto;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:0 10px 36px rgba(20,35,43,0.12);
    overflow:hidden;
  }
  .portal-shell .portal-subnav{border-radius:16px 16px 0 0;}

  .portal-content{max-width:1200px; margin:0 auto; padding:44px 24px 80px;}
  .portal-page-title{font-size:2rem; font-weight:800; color:var(--ink); margin-bottom:6px;}
  .portal-page-sub{color:var(--body-text); font-size:0.98rem; margin-bottom:24px;}

  .alert-banner{
    display:flex; align-items:center; gap:12px; flex-wrap:wrap;
    background:#fdf1e2; border:1px solid #f0c896; border-left:5px solid #d9822b;
    color:#6b3f0a;
    padding:14px 20px; border-radius:8px; font-size:0.92rem;
    margin-bottom:14px;
  }
  .alert-banner .alert-icon{font-size:1.15rem; flex:0 0 auto;}
  .alert-banner strong{color:#5c3a0e;}
  .alert-banner .alert-cta{
    margin-left:auto; flex:0 0 auto;
    background:#d9822b; color:var(--white); font-weight:700;
    padding:8px 18px; border-radius:6px; font-size:0.84rem; white-space:nowrap;
  }
  .alert-banner .alert-cta:hover{opacity:0.85;}
  .new-pill{
    display:inline-block; margin-left:8px; background:#d9822b; color:var(--white);
    font-size:0.6rem; font-weight:800; padding:2px 7px; border-radius:10px;
    letter-spacing:0.04em; vertical-align:middle;
  }
  .summary-card.clickable{cursor:pointer; transition:box-shadow .15s ease, transform .15s ease;}
  .summary-card.clickable:hover{box-shadow:0 6px 18px rgba(20,35,43,0.12); transform:translateY(-2px);}
  .summary-card .summary-hint{font-size:0.72rem; color:var(--teal); font-weight:700; margin-top:6px;}

  .dashboard-summary-grid{
    display:grid; grid-template-columns:repeat(4, 1fr); gap:18px;
    margin-bottom:32px;
  }
  .summary-card{
    background:var(--white); border:1px solid var(--line); border-radius:12px;
    padding:22px 20px;
  }
  .summary-value{font-size:2rem; font-weight:800; color:var(--dark);}
  .summary-label{font-size:0.85rem; color:var(--muted); margin-top:4px;}

  .dashboard-tasks-panel{
    background:var(--white); border:1px solid var(--line); border-radius:12px;
    padding:24px 26px;
  }
  .panel-header{display:flex; align-items:center; justify-content:space-between; margin-bottom:14px;}
  .panel-header h3{font-size:1.1rem; font-weight:800; color:var(--ink);}
  .panel-link{font-size:0.84rem; font-weight:700; color:var(--teal);}
  .panel-link:hover{opacity:0.75;}
  .mini-task-row{
    display:flex; align-items:center; justify-content:space-between; gap:16px;
    padding:14px 0; border-top:1px solid var(--line);
  }
  .mini-task-row:first-of-type{border-top:none;}
  .mini-task-title{font-size:0.94rem; font-weight:700; color:var(--ink);}
  .mini-task-meta{font-size:0.8rem; color:var(--muted); margin-top:2px;}
  .badge.status-not-started{background:#eef1f2; color:#5c7480;}
  .badge.status-in-progress{background:#e8f0fb; color:#2f5fa3;}
  .badge.status-completed{background:#e4f3e8; color:#2f7a4a;}

  .placeholder-panel{
    background:var(--white); border:1px solid var(--line); border-radius:12px;
    padding:60px 40px; text-align:center;
  }
  .placeholder-panel h2{font-size:1.4rem; font-weight:800; color:var(--ink); margin-bottom:10px;}
  .placeholder-panel p{color:var(--body-text); font-size:0.95rem;}

  .breakdown-row{margin-bottom:14px;}
  .breakdown-label{display:flex; justify-content:space-between; font-size:0.86rem; color:var(--ink); margin-bottom:5px;}
  .breakdown-label span:last-child{color:var(--muted); font-weight:600;}
  .breakdown-bar{background:var(--pale); border-radius:20px; height:8px; overflow:hidden;}
  .breakdown-bar-fill{background:var(--teal); height:100%; border-radius:20px;}

  .summary-info-grid{
    display:grid;
    grid-template-columns: 1fr 1.6fr 1.6fr;
    grid-auto-rows: 1fr;
    gap:14px;
  }
  .summary-info-card{
    background:var(--pale); border:1px solid var(--line); border-radius:10px;
    padding:14px 16px; min-height:120px;
  }
  .summary-info-card.wide{grid-row: span 2;}
  .summary-info-title{
    font-size:0.72rem; font-weight:800; color:var(--muted); text-transform:uppercase;
    letter-spacing:0.03em; margin-bottom:8px;
  }
  .summary-info-value{font-size:1.7rem; font-weight:800; color:var(--dark); line-height:1.1;}
  .summary-info-note{font-size:0.76rem; color:var(--muted); margin-top:4px;}
  .summary-info-body{font-size:0.82rem; color:var(--ink); line-height:1.5;}
  .summary-mini-line{display:flex; justify-content:space-between; gap:8px; font-size:0.82rem; margin-bottom:3px;}
  @media (max-width:900px){
    .summary-info-grid{grid-template-columns:1fr 1fr;}
    .summary-info-card.wide{grid-row:auto;}
  }
  @media (max-width:560px){
    .summary-info-grid{grid-template-columns:1fr;}
    .summary-info-card.wide{grid-row:auto;}
  }

  /* ---------- MY TASKS ---------- */
  .task-filter-row{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px;}
  .filter-pill{
    border:1px solid var(--line); background:var(--white); color:var(--body-text);
    font-size:0.82rem; font-weight:700; padding:7px 16px; border-radius:20px;
    cursor:pointer; transition:all .15s ease;
  }
  .filter-pill:hover{border-color:var(--teal);}
  .filter-pill.active{background:var(--dark); border-color:var(--dark); color:var(--white);}

  .task-row-full{padding:18px 0; border-top:1px solid var(--line);}
  .task-row-full:first-of-type{border-top:none; padding-top:4px;}
  .task-row-head{display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap;}
  .task-row-title{font-size:1rem; font-weight:700; color:var(--ink); margin-bottom:4px;}
  .task-row-meta{font-size:0.82rem; color:var(--muted);}
  .task-row-meta span{margin-right:12px;}
  .task-row-desc{font-size:0.9rem; color:var(--body-text); margin:10px 0;}
  .task-row-links a{font-size:0.82rem; color:var(--teal); font-weight:700; margin-right:16px;}
  .task-row-controls{display:flex; align-items:center; gap:10px; flex:0 0 auto;}
  .status-select{
    padding:7px 10px; border:1px solid var(--line); border-radius:6px;
    font-family:inherit; font-size:0.82rem; font-weight:700; color:var(--dark); background:var(--white);
  }
  .priority-tag{font-size:0.72rem; font-weight:800; letter-spacing:0.03em; padding:3px 9px; border-radius:4px;}
  .priority-high{background:#fbe6e3; color:#b3402f;}
  .priority-medium{background:#f0e9d8; color:#9a7b2a;}
  .priority-low{background:#eef1f2; color:#5c7480;}
  .priority-none{background:#f4f5f6; color:#9aa7ae; font-style:italic;}
  .status-needs-time{background:#fdf0e0; color:#a3661a;}

  .project-bookmark-row{display:flex; gap:6px; flex-wrap:wrap; margin-bottom:20px; border-bottom:2px solid var(--line);}
  .project-bookmark{
    padding:10px 20px; border-radius:8px 8px 0 0;
    background:var(--pale); color:var(--body-text); font-weight:700; font-size:0.9rem;
    border:1px solid var(--line); border-bottom:none;
    margin-bottom:-2px;
  }
  .project-bookmark:hover{background:#dde8eb;}
  .project-bookmark.active{background:var(--dark); color:var(--white); border-color:var(--dark);}
  .project-bookmark-new{border-style:dashed; color:var(--teal);}
  .stage-editor{border:1px solid var(--line); border-radius:10px; padding:16px; margin-bottom:14px; background:var(--pale);}
  .stage-editor:last-child{margin-bottom:0;}

  .project-track-layout{display:flex; gap:20px; align-items:flex-start;}
  .project-track-stages{flex:0 0 32%; min-width:260px;}
  .project-track-reviews{flex:1; min-width:0;}
  .stage-compact{
    border:1px solid var(--line); border-radius:8px; padding:10px 12px;
    margin-bottom:10px; background:var(--pale);
  }
  .stage-compact:last-child{margin-bottom:0;}
  .stage-compact-header{display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin-bottom:6px;}
  .stage-compact-name{font-size:0.86rem; font-weight:800; color:var(--ink);}
  .stage-compact-meta{font-size:0.72rem; color:var(--muted); white-space:nowrap;}
  .stage-compact-bar{background:var(--line); border-radius:20px; height:5px; overflow:hidden; margin-bottom:8px;}
  .stage-compact-bar-fill{background:var(--teal); height:100%; border-radius:20px;}
  .stage-compact label{display:flex; align-items:center; gap:8px; padding:3px 0; font-size:0.82rem; cursor:pointer;}

  .member-review-group{padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid var(--line);}
  .member-review-group:last-child{border-bottom:none; margin-bottom:0; padding-bottom:0;}
  .member-review-header{
    display:flex; align-items:center; gap:10px; margin-bottom:12px;
  }
  .member-review-avatar{
    width:32px; height:32px; border-radius:50%; background:var(--dark); color:var(--white);
    display:flex; align-items:center; justify-content:center; font-weight:800; font-size:0.82rem; flex:0 0 auto;
  }
  .member-review-name{font-size:0.98rem; font-weight:800; color:var(--ink);}
  @media (max-width:900px){
    .project-track-layout{flex-direction:column;}
    .project-track-stages{flex:1; width:100%;}
  }
  .project-bookmark-new.active{background:var(--teal); border-color:var(--teal); border-style:solid; color:var(--white);}

  /* ---------- TIME LOG ---------- */
  .time-entry-row{
    display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
    padding:14px 0; border-top:1px solid var(--line);
  }
  .time-entry-row:first-of-type{border-top:none;}
  .time-entry-main{font-size:0.92rem; color:var(--ink); font-weight:700;}
  .time-entry-meta{font-size:0.8rem; color:var(--muted); margin-top:2px;}
  .time-entry-hours{font-size:1rem; font-weight:800; color:var(--dark); flex:0 0 auto;}
  .time-entry-remove{color:#b3402f; font-size:0.8rem; font-weight:700; margin-left:14px;}

  /* ---------- PROJECTS (portal) ---------- */
  .portal-project-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
  .portal-project-card{
    background:var(--white); border:1px solid var(--line); border-radius:12px;
    padding:22px; cursor:pointer; transition:box-shadow .15s ease, transform .15s ease;
  }
  .portal-project-card:hover{box-shadow:0 8px 24px rgba(20,35,43,0.1); transform:translateY(-2px);}
  .portal-project-card h3{font-size:1.1rem; font-weight:800; color:var(--ink); margin-bottom:6px;}
  .portal-project-card p{font-size:0.86rem; color:var(--body-text);}
  .portal-project-card .project-tag{font-size:0.72rem; font-weight:800; color:var(--teal); letter-spacing:0.04em; margin-bottom:8px; display:block;}

  .project-detail-header{display:flex; align-items:center; gap:20px; margin-bottom:8px; flex-wrap:wrap;}
  .project-detail-header img{width:64px; height:64px; object-fit:contain; background:var(--pale); border-radius:10px; padding:8px;}
  .project-detail-header h1{font-size:1.7rem; font-weight:800; color:var(--ink);}
  .pm-card{
    display:flex; align-items:center; gap:14px;
    background:var(--white); border:1px solid var(--line); border-radius:12px;
    padding:16px 20px; margin:20px 0 28px;
  }
  .pm-avatar{
    width:44px; height:44px; border-radius:50%; background:var(--dark); color:var(--white);
    display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1rem; flex:0 0 auto;
  }
  .pm-name{font-weight:700; color:var(--ink); font-size:0.94rem;}
  .pm-role{font-size:0.8rem; color:var(--muted);}
  .resource-list{list-style:none;}
  .resource-list li{padding:12px 0; border-top:1px solid var(--line); font-size:0.9rem;}
  .resource-list li:first-of-type{border-top:none;}
  .resource-list a{color:var(--teal); font-weight:700;}

  /* ---------- ONBOARDING ---------- */
  .onboarding-row{
    display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
    padding:16px 0; border-top:1px solid var(--line);
  }
  .onboarding-row:first-of-type{border-top:none;}
  .onboarding-row-title{font-size:0.95rem; font-weight:700; color:var(--ink);}
  .onboarding-row-meta{font-size:0.8rem; color:var(--muted); margin-top:2px;}
  .onboarding-action{
    display:inline-flex; align-items:center; gap:6px;
    padding:8px 18px; border-radius:6px; font-size:0.84rem; font-weight:700;
    border:1px solid var(--dark); color:var(--dark);
  }
  .onboarding-action.sign{background:var(--dark); color:var(--white);}
  .onboarding-action:hover{opacity:0.8;}

  /* ---------- PROFILE ---------- */
  .profile-row{display:flex; justify-content:space-between; padding:14px 0; border-top:1px solid var(--line); font-size:0.92rem;}
  .profile-row:first-of-type{border-top:none;}
  .profile-row-label{color:var(--muted); font-weight:700;}
  .profile-row-value{color:var(--ink); font-weight:600;}

  @media (max-width:880px){
    .portal-project-grid{grid-template-columns:1fr;}
    .task-row-head{flex-direction:column;}
  }

  #page-placeholder .portal-content{
    flex:1;
    display:flex;
    flex-direction:column;
  }
  .placeholder-center{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  @media (max-width:880px){
    .auth-card{padding:30px 22px; margin-top:-60px;}
    .dashboard-summary-grid{grid-template-columns:1fr 1fr;}
    .portal-tabs{gap:16px;}
    .portal-layout{flex-direction:column;}
    .portal-sidebar{width:100%; border-right:none; border-bottom:1px solid var(--line); padding:16px 20px;}
    .portal-sidebar-nav{flex-direction:row; flex-wrap:wrap;}
    .portal-content-inner{padding-top:20px;}
  }
  @media (max-width:560px){
    .dashboard-summary-grid{grid-template-columns:1fr;}
    .mini-task-row{flex-direction:column; align-items:flex-start; gap:6px;}
  }

