/* ==========================================================================
   INFOPATH USER-FIRST — HUB PAGES, CONTEXTUAL GUIDANCE & ACADEMIC RESULTS
   Dark Frosted Glass + Soft Liquid Glass Accents · WCAG 2.2 AA Contrast
   ========================================================================== */

.ip-hub {
    display: grid;
    gap: 20px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 24px;
}

/* Hub Hero Banner */
.ip-hub-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 24px 26px;
    border-radius: 22px;
    border: 1px solid rgba(165, 243, 252, 0.28);
    background: linear-gradient(
        145deg,
        rgba(231, 248, 255, 0.14) 0%,
        rgba(15, 68, 96, 0.56) 48%,
        rgba(7, 28, 44, 0.78) 100%
    );
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    box-shadow:
        0 18px 42px rgba(3, 14, 24, 0.34),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.42);
}

.ip-hub-hero-copy {
    flex: 1 1 460px;
    min-width: 0;
}

.ip-hub-kicker {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(165, 243, 252, 0.34);
    background: rgba(20, 155, 159, 0.28);
    color: #C7FAFF;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ip-hub-hero h1 {
    margin: 10px 0 8px;
    color: #FFFFFF;
    font-size: clamp(1.45rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.22;
}

.ip-hub-lead {
    margin: 0;
    max-width: 68ch;
    color: #D7EEF7;
    font-size: 0.94rem;
    line-height: 1.62;
}

.ip-hub-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 0 auto;
}

.ip-hub-stat {
    min-width: 112px;
    padding: 12px 15px;
    border-radius: 16px;
    border: 1px solid rgba(165, 243, 252, 0.24);
    background: rgba(7, 28, 44, 0.56);
    text-align: left;
}

.ip-hub-stat strong {
    display: block;
    color: #7CEEF9;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
}

.ip-hub-stat span {
    display: block;
    margin-top: 4px;
    color: #CBE5F0;
    font-size: 0.74rem;
    font-weight: 600;
}

/* Contextual Guidance Banner (Shared Across Hubs & Sub-pages) */
.ip-context-tip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 16px;
    border: 1px solid rgba(124, 238, 249, 0.30);
    background: rgba(11, 44, 68, 0.72);
    color: #E2F4FC;
    font-size: 0.86rem;
    line-height: 1.55;
}

.ip-context-tip[hidden] {
    display: none;
}

.ip-context-tip--highlight {
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(14, 72, 96, 0.78), rgba(7, 28, 44, 0.84));
}

.ip-context-tip .ip-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: #7CEEF9;
}

.ip-context-tip p {
    margin: 0;
    flex: 1 1 280px;
    color: #E2F4FC;
}

.ip-context-tip strong {
    color: #FFFFFF;
}

.ip-tip-title {
    margin: 0 0 4px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
}

/* Friendly Term Tooltip */
abbr.ip-term {
    color: #9BF3FF;
    text-decoration: underline dotted rgba(155, 243, 255, 0.7);
    text-underline-offset: 3px;
    cursor: help;
    font-weight: 600;
}

/* Hub Search Bar */
.ip-hub-search-panel {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(165, 243, 252, 0.22);
    background: rgba(9, 36, 56, 0.74);
    backdrop-filter: blur(18px);
}

.ip-hub-search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.ip-hub-field {
    display: grid;
    gap: 6px;
    flex: 1 1 170px;
    min-width: 0;
}

.ip-hub-field--grow {
    flex: 2 1 280px;
}

.ip-hub-field--action {
    flex: 0 0 auto;
}

.ip-hub-field label {
    color: #C7E7F4;
    font-size: 0.78rem;
    font-weight: 700;
}

.ip-hub-field input,
.ip-hub-field select {
    width: 100%;
    height: 42px;
    padding: 0 13px;
    border-radius: 12px;
    border: 1px solid rgba(165, 243, 252, 0.30);
    background: rgba(7, 24, 39, 0.85);
    color: #FFFFFF;
    font: 500 0.86rem/1.3 var(--ip-font);
}

.ip-hub-field input::placeholder {
    color: rgba(203, 229, 240, 0.68);
}

.ip-hub-field input:focus,
.ip-hub-field select:focus {
    outline: none;
    border-color: #7CEEF9;
    box-shadow: 0 0 0 3px rgba(72, 220, 233, 0.25);
}

/* Reusable Buttons */
.ip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(165, 243, 252, 0.32);
    font: 700 0.84rem/1 var(--ip-font);
    text-decoration: none;
    cursor: pointer;
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
    white-space: nowrap;
}

.ip-btn .ip-icon {
    width: 16px;
    height: 16px;
}

.ip-btn--primary {
    border-color: rgba(255, 255, 255, 0.45);
    background: linear-gradient(135deg, #149B9F 0%, #26B9C9 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(20, 155, 159, 0.34);
}

.ip-btn--primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #17ABB0 0%, #37CAD9 100%);
    color: #FFFFFF;
}

.ip-btn--ghost {
    background: rgba(12, 46, 70, 0.72);
    color: #E8F8FF;
}

.ip-btn--ghost:hover {
    border-color: #7CEEF9;
    background: rgba(20, 86, 114, 0.85);
    color: #FFFFFF;
}

/* Sections & Grids */
.ip-hub-section {
    display: grid;
    gap: 14px;
}

.ip-hub-section-head h2 {
    margin: 0 0 4px;
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 800;
}

.ip-hub-section-head p {
    margin: 0;
    color: #C4E0EE;
    font-size: 0.86rem;
}

.ip-hub-grid {
    display: grid;
    gap: 14px;
}

.ip-hub-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ip-hub-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(165, 243, 252, 0.22);
    background: linear-gradient(155deg, rgba(14, 52, 78, 0.76), rgba(7, 28, 44, 0.84));
    box-shadow: 0 12px 28px rgba(3, 14, 24, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    color: #EEF9FF;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

a.ip-hub-card:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 238, 249, 0.62);
    box-shadow: 0 16px 34px rgba(3, 14, 24, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.ip-hub-card--highlight {
    border-color: rgba(124, 238, 249, 0.44);
    background: linear-gradient(150deg, rgba(20, 96, 118, 0.72), rgba(7, 30, 48, 0.86));
}

.ip-hub-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.ip-hub-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(165, 243, 252, 0.32);
    background: rgba(20, 155, 159, 0.26);
    color: #9BF3FF;
}

.ip-hub-icon .ip-icon {
    width: 19px;
    height: 19px;
}

.ip-hub-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(165, 243, 252, 0.24);
    background: rgba(7, 26, 42, 0.72);
    color: #B9ECF7;
    font-size: 0.74rem;
    font-weight: 700;
}

.ip-hub-card h3 {
    margin: 2px 0 0;
    color: #FFFFFF;
    font-size: 1.02rem;
    font-weight: 700;
}

.ip-hub-card p {
    margin: 0;
    color: #CFE6F2;
    font-size: 0.86rem;
    line-height: 1.56;
    flex: 1 1 auto;
}

.ip-hub-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #7CEEF9;
    font-size: 0.83rem;
    font-weight: 700;
}

.ip-hub-card-cta .ip-icon {
    width: 15px;
    height: 15px;
}

/* Theme Cards Grid (6 Themes A-F) */
.ip-theme-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ip-theme-card {
    display: grid;
    gap: 6px;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(165, 243, 252, 0.22);
    background: rgba(9, 36, 56, 0.78);
    color: #EEF9FF;
    text-decoration: none;
    transition: transform 150ms ease, border-color 150ms ease;
}

.ip-theme-card:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 238, 249, 0.60);
}

.ip-theme-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ip-theme-code {
    color: #7CEEF9;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ip-theme-count {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(20, 155, 159, 0.30);
    color: #DDFBFF;
    font-size: 0.72rem;
    font-weight: 700;
}

.ip-theme-card h3 {
    margin: 0;
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.38;
}

.ip-theme-card p {
    margin: 0;
    color: #BBD8E8;
    font-size: 0.78rem;
}

/* Grade Chips & Pill Stats */
.ip-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.ip-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 10px;
    border: 1px solid rgba(124, 238, 249, 0.34);
    background: rgba(20, 155, 159, 0.24);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.ip-chip-link:hover {
    background: rgba(20, 155, 159, 0.44);
    border-color: #9BF3FF;
}

.ip-chip-link span {
    color: #B4F4FF;
    font-weight: 600;
}

.ip-pill-stat {
    padding: 4px 9px;
    border-radius: 8px;
    background: rgba(7, 25, 40, 0.72);
    border: 1px solid rgba(165, 243, 252, 0.18);
    color: #D2EBF5;
    font-size: 0.76rem;
}

.ip-pill-stat strong {
    color: #7CEEF9;
}

/* 5-Step Verification / AI Pipeline Stepper */
.ip-stepper {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ip-stepper-item {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(165, 243, 252, 0.20);
    background: rgba(8, 34, 52, 0.78);
}

.ip-stepper-no {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(20, 155, 159, 0.34);
    border: 1px solid rgba(124, 238, 249, 0.40);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 800;
}

.ip-stepper-item h3 {
    margin: 0 0 4px;
    color: #FFFFFF;
    font-size: 0.86rem;
    font-weight: 700;
}

.ip-stepper-item p {
    margin: 0;
    color: #C2DFEE;
    font-size: 0.78rem;
    line-height: 1.5;
}

/* Glossary Grid */
.ip-glossary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ip-glossary-card {
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(165, 243, 252, 0.20);
    background: rgba(8, 34, 52, 0.78);
}

.ip-glossary-card--concept {
    border-color: rgba(124, 238, 249, 0.30);
}

.ip-glossary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.ip-glossary-card h3 {
    margin: 0 0 6px;
    color: #9BF3FF;
    font-size: 0.92rem;
    font-weight: 700;
}

.ip-glossary-head h3 {
    margin-bottom: 0;
}

.ip-glossary-card p {
    margin: 0;
    color: #D4EBF6;
    font-size: 0.82rem;
    line-height: 1.55;
}

/* Academic Cards & Clean Tables */
.ip-academic-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(165, 243, 252, 0.22);
    background: rgba(8, 33, 52, 0.82);
}

.ip-academic-card--full {
    margin-top: 2px;
}

.ip-academic-card h3 {
    margin: 0;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
}

.ip-card-desc {
    margin: 0;
    color: #CBE5F2;
    font-size: 0.85rem;
    line-height: 1.55;
}

.ip-finding-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: #DDEFF8;
    font-size: 0.86rem;
    line-height: 1.58;
}

.ip-finding-list strong {
    color: #FFFFFF;
}

.ip-persona-steps {
    margin: 4px 0 0;
    padding-left: 20px;
    display: grid;
    gap: 7px;
    color: #9BF3FF;
    font-size: 0.86rem;
    font-weight: 600;
}

.ip-analysis .ip-persona-steps a,
.ip-persona-steps a {
    color: #9BF3FF;
    text-decoration: none;
}

.ip-analysis .ip-persona-steps a:hover,
.ip-persona-steps a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.ip-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.ip-clean-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.ip-clean-table th,
.ip-clean-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(165, 243, 252, 0.14);
    text-align: left;
    color: #E4F4FC;
}

.ip-clean-table th {
    color: #9BF3FF;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(7, 25, 40, 0.56);
}

.ip-analysis .ip-table-link,
.ip-table-link {
    color: #9BF3FF;
    text-decoration: none;
    font-weight: 600;
}

.ip-analysis .ip-table-link:hover,
.ip-table-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.ip-analysis a.ip-btn--ghost,
.ip-btn--ghost {
    background: rgba(12, 46, 70, 0.78);
    color: #EFFAFF;
}

.ip-analysis a.ip-btn--ghost:hover,
.ip-btn--ghost:hover {
    border-color: #7CEEF9;
    background: rgba(20, 86, 114, 0.90);
    color: #FFFFFF;
}

.ip-analysis a.ip-btn--primary,
.ip-btn--primary {
    color: #FFFFFF;
}

.ip-inline-actions,
.ip-export-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.ip-mt-md {
    margin-top: 6px;
}

/* Next-Step Navigation Strip */
.ip-next-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(165, 243, 252, 0.22);
    background: rgba(7, 29, 46, 0.76);
}

.ip-next-steps-label {
    color: #BBD9E8;
    font-size: 0.8rem;
    font-weight: 700;
}

.ip-next-step-link {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(165, 243, 252, 0.30);
    background: rgba(16, 62, 88, 0.65);
    color: #F0FAFF;
    font: 600 0.8rem/1.2 var(--ip-font);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease;
}

.ip-next-step-link:hover {
    border-color: #7CEEF9;
    background: rgba(20, 155, 159, 0.42);
    color: #FFFFFF;
}

.ip-next-step-link--ai {
    border-color: rgba(124, 238, 249, 0.52);
    background: linear-gradient(135deg, rgba(20, 155, 159, 0.72), rgba(44, 198, 212, 0.54));
}

/* Dashboard User-First Zones (Intent Cards + 6-Step Research Journey + Attention Tasks) */
.ip-intent-section,
.ip-journey-section,
.ip-attention-section {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.ip-zone-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ip-zone-head h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: 1.08rem;
    font-weight: 800;
}

.ip-zone-head p {
    margin: 0;
    color: #C2DFEE;
    font-size: 0.83rem;
}

.ip-intent-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.ip-intent-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 15px 14px;
    border-radius: 18px;
    border: 1px solid rgba(165, 243, 252, 0.24);
    background: linear-gradient(155deg, rgba(16, 62, 90, 0.72), rgba(7, 28, 44, 0.84));
    box-shadow: 0 10px 24px rgba(3, 14, 24, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.26);
    color: #F2FAFF;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--ip-font);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ip-intent-card:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 238, 249, 0.65);
    box-shadow: 0 14px 30px rgba(3, 14, 24, 0.36);
}

.ip-intent-card--ai {
    border-color: rgba(124, 238, 249, 0.45);
    background: linear-gradient(150deg, rgba(20, 134, 144, 0.68), rgba(7, 34, 54, 0.86));
}

.ip-intent-card h3 {
    margin: 0;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.32;
}

.ip-intent-card p {
    margin: 0;
    color: #CBE5F2;
    font-size: 0.77rem;
    line-height: 1.48;
    flex: 1 1 auto;
}

.ip-intent-card-go {
    color: #8AF1FC;
    font-size: 0.76rem;
    font-weight: 700;
}

/* 6-Step Research Journey */
.ip-journey-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.ip-journey-step {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 13px 13px 12px;
    border-radius: 16px;
    border: 1px solid rgba(165, 243, 252, 0.20);
    background: rgba(8, 34, 52, 0.76);
    color: #EEF9FF;
    text-decoration: none;
    transition: border-color 150ms ease, transform 150ms ease;
}

.ip-journey-step:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 238, 249, 0.56);
}

.ip-journey-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.ip-journey-num {
    color: #7CEEF9;
    font-size: 0.74rem;
    font-weight: 800;
}

.ip-journey-status {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(20, 155, 159, 0.28);
    color: #D2FAFF;
    font-size: 0.67rem;
    font-weight: 700;
}

.ip-journey-step h3 {
    margin: 0;
    color: #FFFFFF;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.3;
}

.ip-journey-step p {
    margin: 0;
    color: #BCD8E8;
    font-size: 0.74rem;
    line-height: 1.44;
}

/* Attention Tasks Strip */
.ip-attention-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ip-attention-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(165, 243, 252, 0.24);
    background: rgba(9, 36, 56, 0.78);
    color: #EEF9FF;
    text-decoration: none;
    transition: border-color 150ms ease, transform 150ms ease;
}

.ip-attention-card:hover {
    transform: translateY(-1px);
    border-color: #7CEEF9;
}

.ip-attention-card strong {
    display: block;
    color: #FFFFFF;
    font-size: 0.88rem;
}

.ip-attention-card span {
    display: block;
    margin-top: 2px;
    color: #C3DFEE;
    font-size: 0.78rem;
}

.ip-attention-count {
    flex: 0 0 auto;
    min-width: 44px;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(20, 155, 159, 0.30);
    color: #9BF3FF;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
}

/* 5-Group Management Hub */
.ip-mgmt-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ip-mgmt-group {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(165, 243, 252, 0.22);
    background: rgba(8, 34, 52, 0.80);
}

.ip-mgmt-group--full {
    grid-column: 1 / -1;
}

.ip-mgmt-group-head h2 {
    margin: 0 0 3px;
    color: #FFFFFF;
    font-size: 1.02rem;
    font-weight: 800;
}

.ip-mgmt-group-head p {
    margin: 0;
    color: #BBD8E8;
    font-size: 0.82rem;
}

.ip-mgmt-items {
    display: grid;
    gap: 8px;
}

.ip-mgmt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 13px;
    border: 1px solid rgba(165, 243, 252, 0.16);
    background: rgba(7, 25, 40, 0.64);
}

.ip-mgmt-row-info {
    min-width: 0;
    flex: 1 1 auto;
}

.ip-mgmt-row-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ip-mgmt-row-title strong {
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 700;
}

.ip-mgmt-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(124, 238, 249, 0.34);
    background: rgba(20, 155, 159, 0.30);
    color: #DDFBFF;
    font-size: 0.73rem;
    font-weight: 700;
}

.ip-mgmt-row-desc {
    margin: 4px 0 0;
    color: #C7E3F0;
    font-size: 0.78rem;
    line-height: 1.45;
}

.ip-mgmt-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ip-analysis a.ip-mgmt-mini-btn,
.ip-mgmt-mini-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 10px;
    border: 1px solid rgba(165, 243, 252, 0.36);
    background: rgba(16, 66, 94, 0.85);
    color: #F4FBFF;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.ip-analysis a.ip-mgmt-mini-btn:hover,
.ip-mgmt-mini-btn:hover {
    border-color: #9BF3FF;
    background: rgba(20, 155, 159, 0.58);
    color: #FFFFFF;
}

.ip-analysis a.ip-mgmt-mini-btn--add,
.ip-mgmt-mini-btn--add {
    border-color: rgba(124, 238, 249, 0.56);
    background: linear-gradient(135deg, rgba(20, 155, 159, 0.76), rgba(44, 198, 212, 0.58));
    color: #FFFFFF;
}

.ip-empty-box {
    padding: 18px;
    border-radius: 14px;
    border: 1px dashed rgba(165, 243, 252, 0.30);
    color: #CBE5F2;
    font-size: 0.86rem;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .ip-intent-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ip-journey-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ip-stepper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .ip-hub-grid--2,
    .ip-mgmt-groups,
    .ip-theme-grid,
    .ip-glossary-grid,
    .ip-attention-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ip-hub-hero {
        padding: 18px 16px;
    }

    .ip-hub-grid--2,
    .ip-mgmt-groups,
    .ip-theme-grid,
    .ip-glossary-grid,
    .ip-intent-grid,
    .ip-journey-grid,
    .ip-stepper,
    .ip-attention-grid {
        grid-template-columns: 1fr;
    }

    .ip-mgmt-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
