.hia-pm-dashboard-root{
    --page-bg: #eef5f7;
    --soft-white: #fbf8f0;
    --soft-stone: #eee7dc;
    --midnight: #16072f;
    --midnight-2: #0f1a33;
    --charcoal-navy: #132947;
    --royal-indigo: #3b1472;
    --action-blue: #1768ff;
    --action-blue-2: #24c8ee;
    --teal: #16c4d8;
    --deep-teal: #155f72;
    --brass: #d8b35d;
    --brass-2: #f0d895;
    --ink: #120827;
    --muted: #63708a;
    --panel-border: rgba(94, 61, 132, 0.65);
    --card-border: rgba(76, 151, 194, 0.34);
    --danger: #e65f67;
    --warning: #f3c96f;
    --success: #50d09a;
    --shadow: 0 22px 60px rgba(18, 8, 39, 0.16);
    --shadow-soft: 0 14px 36px rgba(18, 8, 39, 0.10);
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 10px;
  }

  .hia-pm-dashboard-root *{
    box-sizing: border-box;
  }

  .hia-pm-dashboard-root{
    min-height: 100%;
  }

  .hia-pm-dashboard-root{
    margin: 0;
    min-height: 100vh;
    padding: 20px 28px 36px;
    color: #f8fbff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
      radial-gradient(circle at 0% 0%, rgba(32, 196, 216, 0.16), transparent 32%),
      radial-gradient(circle at 86% 6%, rgba(59, 20, 114, 0.12), transparent 28%),
      linear-gradient(145deg, #edf8f8 0%, #f5f2fb 46%, #f2edf4 100%);
  }

  .hia-pm-dashboard-root button, .hia-pm-dashboard-root input, .hia-pm-dashboard-root textarea, .hia-pm-dashboard-root select{
    font: inherit;
  }

  .hia-pm-dashboard-root button{
    border: 0;
    appearance: none;
    cursor: pointer;
    border-radius: 11px;
    padding: 11px 16px;
    font-weight: 850;
    line-height: 1;
    transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease, background 0.14s ease;
  }

  .hia-pm-dashboard-root button:hover{
    transform: translateY(-1px);
    filter: saturate(1.06);
  }

  .hia-pm-dashboard-root button:disabled{
    cursor: not-allowed;
    opacity: 0.58;
    transform: none;
  }

  .hia-pm-dashboard-root input, .hia-pm-dashboard-root select, .hia-pm-dashboard-root textarea{
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(213, 189, 118, 0.55);
    border-radius: 12px;
    padding: 11px 13px;
    color: #132033;
    background: rgba(255, 252, 245, 0.96);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 10px 24px rgba(7, 15, 33, 0.10);
  }

  .hia-pm-dashboard-root input::placeholder, .hia-pm-dashboard-root textarea::placeholder{
    color: #8090a3;
  }

  .hia-pm-dashboard-root textarea{
    min-height: 88px;
    resize: vertical;
  }

  .hia-pm-dashboard-root input:focus, .hia-pm-dashboard-root select:focus, .hia-pm-dashboard-root textarea:focus{
    border-color: rgba(32, 196, 216, 0.92);
    box-shadow: 0 0 0 4px rgba(32, 196, 216, 0.18), inset 0 1px 0 rgba(255,255,255,0.82);
  }

  .hia-pm-dashboard-root label{
    display: block;
    margin: 0 0 7px;
    color: #eef8ff;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.01em;
  }

  .hia-pm-dashboard-root .app{
    width: min(1320px, calc(100vw - 56px));
    margin: 0 auto;
  }

  .hia-pm-dashboard-root .hidden{
    display: none !important;
  }

  .hia-pm-dashboard-root .header{
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    min-height: 154px;
    padding: 22px 24px;
    margin-bottom: 20px;
    overflow: hidden;
    color: var(--ink);
    background:
      radial-gradient(circle at 5% 10%, rgba(32, 196, 216, 0.26), transparent 24%),
      radial-gradient(circle at 99% 10%, rgba(53, 17, 95, 0.08), transparent 28%),
      linear-gradient(112deg, #fffaf0 0%, #f7f3e9 48%, #eee8df 100%);
    border: 1px solid rgba(216, 179, 93, 0.38);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
  }

  .hia-pm-dashboard-root .header::before{
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), var(--action-blue), var(--royal-indigo), rgba(216, 179, 93, 0.72));
    pointer-events: none;
  }

  .hia-pm-dashboard-root .header::after{
    content: "";
    position: absolute;
    inset: auto -70px -90px auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(53, 17, 95, 0.10), transparent 62%);
    pointer-events: none;
  }

  .hia-pm-dashboard-root .header > div:first-child{
    position: relative;
    z-index: 1;
    display: flex !important;
    gap: 18px !important;
    align-items: center !important;
    min-width: 0;
  }

  .hia-pm-dashboard-root .header > div:first-child > div:first-child{
    width: clamp(190px, 21vw, 300px) !important;
    flex: 0 0 auto !important;
    margin-top: 0 !important;
  }

  .hia-pm-dashboard-root .eyebrow{
    margin-bottom: 8px;
    color: #16072f;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .hia-pm-dashboard-root h1{
    margin: 0;
    color: #21003f;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  .hia-pm-dashboard-root h1 span{
    color: #6f6882;
    font-size: 0.48em;
    letter-spacing: -0.03em;
    vertical-align: baseline;
  }

  .hia-pm-dashboard-root .header p{
    max-width: 640px;
    margin: 10px 0 0;
    color: #5e6b7f;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .hia-pm-dashboard-root .top-actions{
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: rgba(247, 253, 252, 0.78);
    border: 1px solid rgba(255,255,255,0.88);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(18, 8, 39, 0.14);
    backdrop-filter: blur(14px);
  }

  .hia-pm-dashboard-root .btn-primary, .hia-pm-dashboard-root .top-actions .btn-primary{
    color: #fff;
    background: linear-gradient(135deg, #1768ff 0%, #2547c9 56%, #35115f 100%);
    box-shadow: 0 14px 28px rgba(23, 104, 255, 0.24);
  }

  .hia-pm-dashboard-root .btn-soft, .hia-pm-dashboard-root .top-actions .btn-soft{
    color: #fff;
    background: linear-gradient(135deg, rgba(68, 146, 243, 0.70), rgba(59, 20, 114, 0.88));
    box-shadow: 0 12px 26px rgba(37, 71, 201, 0.18);
  }

  .hia-pm-dashboard-root .btn-muted{
    color: #e9f5ff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .hia-pm-dashboard-root .btn-danger{
    color: #fff;
    background: linear-gradient(135deg, #dc3f55, #8f173a);
    box-shadow: 0 12px 24px rgba(220, 63, 85, 0.16);
  }

  .hia-pm-dashboard-root .btn-warning{
    color: #25162f;
    background: linear-gradient(135deg, #f4d488, #c89538);
    box-shadow: 0 12px 24px rgba(216, 179, 93, 0.18);
  }

  .hia-pm-dashboard-root .btn-refresh{
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .hia-pm-dashboard-root .refresh-icon{
    font-weight: 950;
  }

  .hia-pm-dashboard-root .summary{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
    overflow: hidden;
    background: linear-gradient(90deg, #111842, #132947 42%, #2f1b53 78%, #411381);
    border: 1px solid rgba(76, 151, 194, 0.22);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
  }

  .hia-pm-dashboard-root .summary-card{
    position: relative;
    min-height: 78px;
    padding: 18px 20px;
    border-right: 1px solid rgba(216, 179, 93, 0.22);
    background: transparent;
    overflow: hidden;
  }

  .hia-pm-dashboard-root .summary-card:last-child{
    border-right: 0;
  }

  .hia-pm-dashboard-root .summary-card::after{
    content: "";
    position: absolute;
    right: -36px;
    top: -40px;
    width: 104px;
    height: 104px;
    border-radius: 999px;
    background: rgba(32, 196, 216, 0.12);
    pointer-events: none;
  }

  .hia-pm-dashboard-root .summary-card span{
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.095em;
    text-transform: uppercase;
  }

  .hia-pm-dashboard-root .summary-card strong{
    color: #fffaf0;
    font-size: 1.95rem;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .hia-pm-dashboard-root .tabs{
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 0;
    padding: 10px;
    color: #fff;
    background:
      radial-gradient(circle at 1% 1%, rgba(32, 196, 216, 0.18), transparent 18%),
      radial-gradient(circle at 96% 0%, rgba(216, 179, 93, 0.22), transparent 22%),
      linear-gradient(90deg, #16072f, #10172f 52%, #3b1472 100%);
    border: 1px solid var(--panel-border);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: var(--shadow-soft);
  }

  .hia-pm-dashboard-root .tab-btn{
    color: rgba(255,255,255,0.78);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: none;
  }

  .hia-pm-dashboard-root .tab-btn.active{
    color: #fff;
    background: linear-gradient(135deg, #20c4d8 0%, #1768ff 72%, #35115f 100%);
    box-shadow: 0 13px 26px rgba(23, 104, 255, 0.24);
  }

  .hia-pm-dashboard-root .gantt-tab-btn{
    margin-left: auto;
    color: #fff;
    background: linear-gradient(135deg, rgba(216, 179, 93, 0.76), rgba(59, 20, 114, 0.72));
    border: 1px solid rgba(216, 179, 93, 0.45);
  }

  .hia-pm-dashboard-root .panel{
    position: relative;
    padding: 28px 22px;
    margin-bottom: 18px;
    color: #f7fbff;
    background:
      radial-gradient(circle at 0% 0%, rgba(32, 196, 216, 0.12), transparent 22%),
      radial-gradient(circle at 98% 14%, rgba(216, 179, 93, 0.12), transparent 28%),
      linear-gradient(135deg, #16072f 0%, #10172f 44%, #190b35 100%);
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
  }

  .hia-pm-dashboard-root .tabs + .panel, .hia-pm-dashboard-root section.panel:last-of-type{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .hia-pm-dashboard-root section.panel:not(:last-of-type){
    border-radius: var(--radius-lg);
    margin-top: 18px;
  }

  .hia-pm-dashboard-root .panel-head{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
  }

  .hia-pm-dashboard-root .panel h2{
    margin: 0 0 8px;
    color: #fffaf0;
    font-size: 1.22rem;
    font-weight: 950;
    letter-spacing: -0.025em;
  }

  .hia-pm-dashboard-root .panel-note{
    margin: 0;
    color: rgba(232, 243, 255, 0.76);
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .hia-pm-dashboard-root .grid-2{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 16px;
    margin-bottom: 16px;
  }

  .hia-pm-dashboard-root .actions{
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 14px;
  }

  .hia-pm-dashboard-root .filters{
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(170px, 0.72fr));
    gap: 10px;
    align-items: center;
    margin: 20px 0 16px;
  }

  .hia-pm-dashboard-root .filters input, .hia-pm-dashboard-root .filters select{
    color: #fff;
    background: linear-gradient(135deg, rgba(45, 35, 83, 0.92), rgba(28, 94, 117, 0.92));
    border-color: rgba(216, 179, 93, 0.42);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 24px rgba(7, 15, 33, 0.22);
  }

  .hia-pm-dashboard-root .filters select option{
    color: #132033;
    background: #fffaf0;
  }

  .hia-pm-dashboard-root .filters input::placeholder{
    color: rgba(255,255,255,0.68);
  }

  .hia-pm-dashboard-root .search-input{
    min-width: 250px;
  }

  .hia-pm-dashboard-root .list{
    display: grid;
    gap: 10px;
  }

  .hia-pm-dashboard-root .card{
    position: relative;
    display: grid;
    gap: 8px;
    padding: 14px 16px 13px;
    overflow: hidden;
    color: #f7fbff;
    background:
      linear-gradient(90deg, rgba(19, 41, 71, 0.98), rgba(28, 69, 114, 0.96));
    border: 1px solid var(--card-border);
    border-left: 5px solid var(--teal);
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(8, 14, 33, 0.16);
  }

  .hia-pm-dashboard-root .card:nth-child(2n){
    background: linear-gradient(90deg, rgba(42, 12, 80, 0.98), rgba(59, 20, 114, 0.96));
    border-left-color: var(--brass);
  }

  .hia-pm-dashboard-root .card:nth-child(3n){
    background: linear-gradient(90deg, rgba(19, 41, 71, 0.98), rgba(29, 86, 128, 0.96));
    border-left-color: var(--action-blue-2);
  }

  .hia-pm-dashboard-root .card::after{
    content: "";
    position: absolute;
    right: 12px;
    top: 12px;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: rgba(32, 196, 216, 0.12);
    pointer-events: none;
  }

  .hia-pm-dashboard-root .card-top{
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
  }

  .hia-pm-dashboard-root .card-top > div:first-child{
    min-width: 0;
  }

  .hia-pm-dashboard-root .card-title{
    margin-bottom: 3px;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 950;
    letter-spacing: -0.018em;
    line-height: 1.16;
  }

  .hia-pm-dashboard-root .card-meta{
    display: flex;
    column-gap: 7px;
    row-gap: 2px;
    align-items: center;
    flex-wrap: wrap;
    color: rgba(244, 249, 255, 0.78);
    font-size: 0.78rem;
    line-height: 1.22;
  }

  .hia-pm-dashboard-root .card-meta span:first-child, .hia-pm-dashboard-root .detail-owner .owner-value{
    color: var(--brass-2);
    font-weight: 900;
  }

  .hia-pm-dashboard-root .card-desc{
    margin: 4px 0 0;
    color: rgba(244, 249, 255, 0.84);
    font-size: 0.84rem;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hia-pm-dashboard-root .badge{
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 999px;
    padding: 7px 10px;
    color: #fff;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.16);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .hia-pm-dashboard-root .badge.not-started{
    background: rgba(255,255,255,0.22);
  }

  .hia-pm-dashboard-root .badge.in-progress{
    background: rgba(216, 179, 93, 0.46);
  }

  .hia-pm-dashboard-root .badge.blocked{
    background: rgba(230, 95, 103, 0.50);
  }

  .hia-pm-dashboard-root .badge.done, .hia-pm-dashboard-root .badge.active{
    background: rgba(80, 208, 154, 0.42);
  }

  .hia-pm-dashboard-root .badge.archived{
    background: rgba(148, 163, 184, 0.36);
  }

  .hia-pm-dashboard-root .detail-grid{
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }

  .hia-pm-dashboard-root .detail-item{
    min-height: 54px;
    padding: 11px 12px;
    color: rgba(248, 251, 255, 0.88);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    font-size: 0.85rem;
  }

  .hia-pm-dashboard-root .detail-item strong{
    display: block;
    margin-bottom: 4px;
    color: rgba(255,255,255,0.62);
    font-size: 0.70rem;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .hia-pm-dashboard-root .card .actions{
    position: relative;
    z-index: 2;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }

  .hia-pm-dashboard-root .card .actions button, .hia-pm-dashboard-root .project-actions button, .hia-pm-dashboard-root .project-task-actions button{
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .hia-pm-dashboard-root .project-card{
    cursor: pointer;
  }

  .hia-pm-dashboard-root .project-expanded{
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.13);
  }

  .hia-pm-dashboard-root .project-task-list{
    display: grid;
    gap: 8px;
  }

  .hia-pm-dashboard-root .project-task-list-title{
    color: rgba(255,255,255,0.66);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hia-pm-dashboard-root .empty-project-tasks{
    padding: 12px;
    color: rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
  }

  .hia-pm-dashboard-root .project-task-row{
    padding: 11px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    cursor: pointer;
  }

  .hia-pm-dashboard-root .project-task-main{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
  }

  .hia-pm-dashboard-root .project-task-title{
    color: #fff;
    font-weight: 900;
  }

  .hia-pm-dashboard-root .project-task-date{
    color: rgba(255,255,255,0.66);
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hia-pm-dashboard-root .project-task-details{
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.10);
  }

  .hia-pm-dashboard-root .project-task-description{
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .hia-pm-dashboard-root .project-task-meta{
    display: flex;
    gap: 8px 14px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.78);
    font-size: 0.82rem;
  }

  .hia-pm-dashboard-root .project-task-meta strong{
    color: var(--brass-2);
  }

  .hia-pm-dashboard-root .empty-state{
    padding: 30px;
    color: rgba(255,255,255,0.76);
    text-align: center;
    background: rgba(255,255,255,0.07);
    border: 1px dashed rgba(255,255,255,0.22);
    border-radius: 16px;
  }

  .hia-pm-dashboard-root .empty-state strong{
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 1rem;
  }

  .hia-pm-dashboard-root .background-notice{
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    max-width: min(360px, calc(100vw - 44px));
    padding: 13px 15px;
    color: #fffaf0;
    background: rgba(16, 23, 47, 0.94);
    border: 1px solid rgba(216, 179, 93, 0.34);
    border-radius: 14px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.26);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .hia-pm-dashboard-root .background-notice.visible{
    opacity: 1;
    transform: translateY(0);
  }

  .hia-pm-dashboard-root .background-notice.success{
    border-color: rgba(80, 208, 154, 0.55);
  }

  .hia-pm-dashboard-root .background-notice.error{
    border-color: rgba(230, 95, 103, 0.68);
  }

  .hia-pm-dashboard-root .gantt-chart{
    display: grid;
    gap: 12px;
    padding: 14px;
    color: #eaf5ff;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
  }

  .hia-pm-dashboard-root .gantt-chart-head{
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
  }

  .hia-pm-dashboard-root .gantt-chart-title{
    color: #fff;
    font-size: 1.06rem;
    font-weight: 950;
  }

  .hia-pm-dashboard-root .gantt-chart-note{
    margin-top: 4px;
    color: rgba(255,255,255,0.68);
    font-size: 0.86rem;
  }

  .hia-pm-dashboard-root .gantt-legend{
    display: flex;
    gap: 10px 14px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.78);
  }

  .hia-pm-dashboard-root .gantt-legend span{
    display: inline-flex;
    gap: 6px;
    align-items: center;
  }

  .hia-pm-dashboard-root .legend-dot{
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 999px;
    background: var(--teal);
  }

  .hia-pm-dashboard-root .gantt-date-axis{
    position: relative;
    min-height: 22px;
    margin-left: 258px;
    border-bottom: 1px solid rgba(255,255,255,0.13);
  }

  .hia-pm-dashboard-root .gantt-date-marker{
    position: absolute;
    bottom: 4px;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.68);
    font-size: 0.70rem;
    font-weight: 850;
  }

  .hia-pm-dashboard-root .gantt-plot{
    position: relative;
    display: grid;
    gap: 6px;
  }

  .hia-pm-dashboard-root .gantt-gridline{
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    margin-left: 258px;
    background: rgba(255,255,255,0.07);
    pointer-events: none;
  }

  .hia-pm-dashboard-root .gantt-row{
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 240px minmax(260px, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 42px;
    padding: 4px 0;
  }

  .hia-pm-dashboard-root .gantt-row-label strong{
    display: block;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.12;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hia-pm-dashboard-root .gantt-row-label span{
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,0.62);
    font-size: 0.70rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hia-pm-dashboard-root .gantt-track{
    position: relative;
    height: 24px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    overflow: hidden;
  }

  .hia-pm-dashboard-root .gantt-bar{
    position: absolute;
    top: 3px;
    bottom: 3px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    color: #0f172a;
    font-size: 0.68rem;
    font-weight: 950;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(15, 23, 42, 0.14);
    box-shadow: 0 5px 12px rgba(0,0,0,0.13);
  }

  @media (max-width: 980px) {
    .hia-pm-dashboard-root{
      padding: 16px;
    }

    .hia-pm-dashboard-root .app{
      width: min(100%, calc(100vw - 32px));
    }

    .hia-pm-dashboard-root .header{
      grid-template-columns: 1fr;
      gap: 18px;
    }

    .hia-pm-dashboard-root .top-actions{
      justify-self: start;
      flex-wrap: wrap;
    }

    .hia-pm-dashboard-root .summary{
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hia-pm-dashboard-root .summary-card:nth-child(2){
      border-right: 0;
    }

    .hia-pm-dashboard-root .filters, .hia-pm-dashboard-root .grid-2{
      grid-template-columns: 1fr;
    }

    .hia-pm-dashboard-root .gantt-date-axis{
      margin-left: 0;
    }

    .hia-pm-dashboard-root .gantt-row{
      grid-template-columns: 1fr;
      gap: 6px;
      min-height: 0;
      padding: 5px 0;
    }

    .hia-pm-dashboard-root .gantt-gridline{
      margin-left: 0;
    }
  }

  @media (max-width: 700px) {
    .hia-pm-dashboard-root .header > div:first-child{
      display: grid !important;
    }

    .hia-pm-dashboard-root .header > div:first-child > div:first-child{
      width: 190px !important;
    }

    .hia-pm-dashboard-root .summary{
      grid-template-columns: 1fr;
    }

    .hia-pm-dashboard-root .summary-card{
      border-right: 0;
      border-bottom: 1px solid rgba(216, 179, 93, 0.22);
    }

    .hia-pm-dashboard-root .summary-card:last-child{
      border-bottom: 0;
    }

    .hia-pm-dashboard-root .tabs{
      align-items: stretch;
    }

    .hia-pm-dashboard-root .gantt-tab-btn{
      margin-left: 0;
    }

    .hia-pm-dashboard-root .card-top, .hia-pm-dashboard-root .project-task-main, .hia-pm-dashboard-root .panel-head, .hia-pm-dashboard-root .gantt-chart-head{
      display: grid;
    }

    .hia-pm-dashboard-root .detail-grid{
      grid-template-columns: 1fr;
    }
  }

  /* v-next: restore compact collapsed task cards */
  .hia-pm-dashboard-root .list{
    gap: 10px !important;
  }

  .hia-pm-dashboard-root .card:not(.project-card){
    gap: 8px !important;
    padding: 14px 16px 13px !important;
  }

  .hia-pm-dashboard-root .card:not(.project-card) .card-title{
    margin-bottom: 3px !important;
    line-height: 1.16 !important;
  }

  .hia-pm-dashboard-root .card:not(.project-card) .card-meta{
    column-gap: 7px !important;
    row-gap: 2px !important;
    font-size: 0.78rem !important;
    line-height: 1.22 !important;
  }

  .hia-pm-dashboard-root .card:not(.project-card) .card-desc{
    margin-top: 4px !important;
    font-size: 0.84rem !important;
    line-height: 1.28 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .hia-pm-dashboard-root .card:not(.project-card) .badge{
    padding: 7px 10px !important;
    font-size: 0.68rem !important;
  }


  /* v-next: restore brass/orange owner names in normal cards */
  .hia-pm-dashboard-root .card .card-meta > span:first-child, .hia-pm-dashboard-root .project-card .card-meta > span:first-child, .hia-pm-dashboard-root .detail-owner .owner-value, .hia-pm-dashboard-root .project-task-meta span:first-child{
    color: #f2c46d !important;
    font-weight: 950 !important;
    text-shadow: 0 1px 8px rgba(242, 196, 109, 0.18) !important;
  }

  .hia-pm-dashboard-root .gantt-bar span{
    color: #0f172a !important;
    text-shadow: none !important;
  }


  /* v-next: header quick links */

  .hia-pm-dashboard-root .hia-logo-link{
    display: block;
    width: fit-content;
    line-height: 0;
    border-radius: 16px;
  }

  .hia-pm-dashboard-root .hia-logo-link:focus-visible{
    outline: 3px solid rgba(23, 104, 255, 0.45);
    outline-offset: 5px;
  }

  .hia-pm-dashboard-root .hia-logo-link .hia-logo{
    transition: transform 0.14s ease, filter 0.14s ease;
  }

  .hia-pm-dashboard-root .hia-logo-link:hover .hia-logo{
    transform: translateY(-1px);
    filter: saturate(1.04);
  }

  .hia-pm-dashboard-root .header-actions-cluster{
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    justify-items: end;
    align-self: center;
  }

  /* v-next: expandable Gantt rows */
  .hia-pm-dashboard-root .gantt-row{
    cursor: pointer;
  }

  .hia-pm-dashboard-root .gantt-task-details{
    grid-column: 1 / -1;
    margin: 3px 0 7px 258px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
  }

  .hia-pm-dashboard-root .gantt-task-description{
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .hia-pm-dashboard-root .gantt-detail-grid{
    margin-top: 0 !important;
  }

  .hia-pm-dashboard-root .gantt-task-actions{
    margin-top: 10px;
  }

  @media (max-width: 940px) {
    .hia-pm-dashboard-root .header-actions-cluster{
      justify-items: start;
    }

    .hia-pm-dashboard-root .gantt-task-details{
      margin-left: 0;
    }
  }



/* Soren feature expansion: Ideas, Agenda, Task Links */
.hia-pm-dashboard-root .task-links-box{ margin: 14px 0; display: grid; gap: 8px; }
.hia-pm-dashboard-root .task-link-row{ display: grid; grid-template-columns: minmax(120px, 0.9fr) minmax(180px, 1.4fr); gap: 8px; margin-bottom: 8px; }
.hia-pm-dashboard-root .task-link-list{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hia-pm-dashboard-root .task-link-chip{ display: inline-flex; align-items: center; justify-content: center; padding: 7px 10px; border-radius: 10px; background: rgba(32,196,216,0.13); color: #0f5670; border: 1px solid rgba(32,196,216,0.28); text-decoration: none; font-weight: 850; font-size: 0.78rem; }
.hia-pm-dashboard-root .task-links-detail{ grid-column: 1 / -1; }
.hia-pm-dashboard-root .section-actions{ margin-bottom: 12px; }
.hia-pm-dashboard-root .idea-card .card-top, .hia-pm-dashboard-root .agenda-card .card-top{ align-items: center; }
.hia-pm-dashboard-root .agenda-group{ display: grid; gap: 10px; margin-bottom: 18px; }
.hia-pm-dashboard-root .agenda-group h3{ color: #f4b860; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 4px 0; }
.hia-pm-dashboard-root .empty-state.mini{ padding: 14px; font-size: 0.84rem; }
.hia-pm-dashboard-root .gantt-task-extra{ margin-top: 6px; padding-left: 0; }
@media (max-width: 760px) { .hia-pm-dashboard-root .task-link-row{ grid-template-columns: 1fr; } }
.hia-pm-dashboard-root{min-height:100vh;padding:20px 28px 36px;background:radial-gradient(circle at 0% 0%,rgba(32,196,216,.16),transparent 32%),radial-gradient(circle at 86% 6%,rgba(59,20,114,.12),transparent 28%),linear-gradient(145deg,#edf8f8 0%,#f5f2fb 46%,#f2edf4 100%);}

@media (max-width:760px){.hia-pm-dashboard-root{padding:12px 8px 24px}.hia-pm-dashboard-root .app{width:100%}}
