/* ============================================================
   DCC-i Innovation Lab — Styles
   Matches the portal's clay/soft aesthetic in yellow (#f1c40f)
   ============================================================ */

:root {
    --lab-yellow:       #f1c40f;
    --lab-yellow-dark:  #d4ac0d;
    --lab-yellow-light: #fef9e7;
    --lab-yellow-pale:  #fffde7;
    --lab-text:         #2c3e50;
    --lab-text-soft:    #5a6a7a;
    --lab-white:        #ffffff;
    --lab-border:       #e8e8e8;
    --lab-radius:       16px;
    --lab-radius-sm:    10px;
    --lab-shadow:       0 4px 20px rgba(0,0,0,0.08);
    --lab-shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
    --lab-transition:   all 0.25s ease;

    /* Status colours */
    --status-pending:        #95a5a6;
    --status-approved:       #27ae60;
    --status-under_review:   #9b59b6;
    --status-in_development: #3498db;
    --status-coming_soon:    #e91e63;
    --status-live:           #2ecc71;
    --status-rejected:       #e74c3c;

    /* Category colours */
    --cat-tool:     #3498db;
    --cat-resource: #9b59b6;
    --cat-feature:  #e91e63;
    --cat-general:  #f39c12;
}

/* ===================== WRAP ===================== */
.dcci-lab-wrap {
    font-family: 'Montserrat', sans-serif;
    color: var(--lab-text);
    min-height: 80vh;
}

/* ===================== HERO — mirrors .dcci-ml-hero / .dcci-tl-hero in yellow ===================== */
.dcci-lab-hero {
    background:
        linear-gradient(175deg, #fffaeb 0%, #fff5cc 42%, #ffe88a 78%, #f5d76e 100%);
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    z-index: 2;
}
.dcci-lab-hero__blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dcci-lab-hero__blob { position: absolute; }
.dcci-lab-hero__blob--1 {
    width: 560px; height: 310px;
    background: rgba(155,89,182,.16);
    top: 78px; right: 18%;
    border-radius: 64% 36% 44% 56% / 58% 42% 62% 38%;
    transform: rotate(-3deg);
}
.dcci-lab-hero__blob--2 {
    width: 410px; height: 260px;
    background: rgba(46,204,113,.13);
    top: 110px; right: 6%;
    border-radius: 36% 64% 58% 42% / 44% 56% 36% 64%;
    transform: rotate(7deg);
}
.dcci-lab-hero__blob--3 {
    width: 340px; height: 220px;
    background: rgba(233,30,99,.14);
    top: 60px; right: -2%;
    border-radius: 56% 44% 64% 36% / 48% 52% 44% 56%;
    transform: rotate(4deg);
}
.dcci-lab-flow-lines {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 1; pointer-events: none;
}
.dcci-lab-hero__inner {
    position: relative; z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px 68px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
@media (max-width: 960px) {
    .dcci-lab-hero__inner { grid-template-columns: 1fr; padding: 56px 24px 48px; }
    .dcci-lab-hero__visual { display: none; }
}
.dcci-lab-hero__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 18px;
}
.dcci-lab-hero__logo {
    display: block;
    width: auto; height: auto;
    max-width: 120px; max-height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}
.dcci-lab-hero__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #e91e63;
    margin: 0;
}
.dcci-lab-hero__title {
    font-size: clamp(2.45rem, 4.2vw, 4rem);
    font-weight: 800;
    color: #4a235a;
    margin: 0 0 10px;
    line-height: 1.02;
    letter-spacing: -.03em;
}
.dcci-lab-hero__subtitle {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 750;
    color: #4a235a;
    margin: 0 0 18px;
    line-height: 1.18;
    letter-spacing: -.015em;
}
.dcci-lab-hero__intro {
    font-size: 1.05rem;
    line-height: 1.68;
    color: #4a235a;
    margin: 0 0 28px;
    max-width: 600px;
}
.dcci-lab-hero__visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.dcci-lab-hero__screenshot {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    outline: none !important;
    padding: 0 !important;
    max-width: none !important;
}

.dcci-lab-hero__mascots {
    flex: 0 0 auto;
    width: 380px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.dcci-lab-hero__mascot-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}

/* ===================== MAIN ===================== */
.dcci-lab-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* ===================== ACCESS GATE ===================== */
.dcci-lab-gate {
    text-align: center;
    padding: 80px 20px;
    max-width: 520px;
    margin: 0 auto;
}
.dcci-lab-gate__icon {
    font-size: 64px;
    margin-bottom: 20px;
}
.dcci-lab-gate h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}
.dcci-lab-gate p {
    font-size: 16px;
    color: var(--lab-text-soft);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ===================== TABS ===================== */
.dcci-lab-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--lab-border);
    margin-bottom: 32px;
    padding-bottom: 0;
    flex-wrap: wrap;
}

.dcci-lab-tab {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--lab-text-soft);
    cursor: pointer;
    transition: var(--lab-transition);
    margin-bottom: -2px;
    border-radius: var(--lab-radius-sm) var(--lab-radius-sm) 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dcci-lab-tab:hover {
    color: var(--lab-text);
    background: var(--lab-yellow-pale);
}

.dcci-lab-tab--active {
    color: #c0950a;
    border-bottom-color: var(--lab-yellow);
    background: var(--lab-yellow-pale);
}

/* ===================== PANELS ===================== */
.dcci-lab-panel { display: block; }
.dcci-lab-panel--hidden { display: none; }

.dcci-lab-panel-intro {
    margin-bottom: 28px;
}
.dcci-lab-panel-intro h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}
.dcci-lab-panel-intro p {
    color: var(--lab-text-soft);
    font-size: 15px;
    margin: 0;
}

/* ===================== BOARD HEADER ===================== */
.dcci-lab-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.dcci-lab-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dcci-lab-select {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border: 2px solid var(--lab-border);
    border-radius: var(--lab-radius-sm);
    background: var(--lab-white);
    color: var(--lab-text);
    cursor: pointer;
    transition: var(--lab-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}

.dcci-lab-select:focus {
    outline: none;
    border-color: var(--lab-yellow);
}

/* ===================== BUTTONS ===================== */
.dcci-lab-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--lab-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--lab-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.dcci-lab-btn--primary {
    background: var(--lab-yellow);
    color: var(--lab-text);
    box-shadow: 0 2px 8px rgba(241,196,15,0.4);
}
.dcci-lab-btn--primary:hover {
    background: var(--lab-yellow-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(241,196,15,0.5);
}

.dcci-lab-btn--ghost {
    background: transparent;
    border: 2px solid var(--lab-yellow);
    color: #c0950a;
}
.dcci-lab-btn--ghost:hover {
    background: var(--lab-yellow-pale);
}

.dcci-lab-btn--full { width: 100%; justify-content: center; }

/* ===================== IDEAS BOARD — STICKY NOTE TREATMENT ===================== */
/* The grid sits on a "corkboard" panel for tactile contrast */
.dcci-lab-board-corkboard {
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0,0,0,0.08), transparent 60%),
        linear-gradient(135deg, #5d3a00 0%, #4a2d00 50%, #3d2400 100%);
    border-radius: var(--lab-radius);
    padding: 36px 28px 44px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 2px 12px rgba(0,0,0,0.35),
        inset 0 -2px 6px rgba(0,0,0,0.18),
        0 4px 18px rgba(0,0,0,0.12);
}

/* Subtle wood/cork noise texture */
.dcci-lab-board-corkboard::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

.dcci-lab-board-corkboard > * { position: relative; z-index: 1; }

.dcci-lab-ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 36px 24px;
    padding-top: 16px;
}

/* Each idea = sticky note */
.dcci-lab-idea-card {
    position: relative;
    background: #fff8b8;
    border-radius: 3px;
    padding: 24px 18px 20px;
    box-shadow:
        4px 8px 24px rgba(0,0,0,0.45),
        0 2px 8px rgba(0,0,0,0.30),
        inset 0 1px 0 rgba(255,255,255,0.6);
    cursor: pointer;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    color: #2d2d2d;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='nz'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23nz)' opacity='0.05'/%3E%3C/svg%3E");
    border: none;
    --note-rot: rotate(-1deg);
    transform: var(--note-rot);
    animation: dcci-note-drop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes dcci-note-drop {
    from { opacity: 0; transform: var(--note-rot, rotate(-1deg)) translateY(-12px) scale(0.96); }
    to   { opacity: 1; transform: var(--note-rot, rotate(-1deg)); }
}

/* Random rotations + colour variations per nth-child */
.dcci-lab-idea-card:nth-child(6n+1) { --note-rot: rotate(-2deg);  background-color: #fff8b8; }
.dcci-lab-idea-card:nth-child(6n+2) { --note-rot: rotate(1.5deg); background-color: #ffd6e0; }   /* pink */
.dcci-lab-idea-card:nth-child(6n+3) { --note-rot: rotate(-1deg);  background-color: #d4f1e8; }   /* mint */
.dcci-lab-idea-card:nth-child(6n+4) { --note-rot: rotate(2.2deg); background-color: #e1bee7; }   /* lilac */
.dcci-lab-idea-card:nth-child(6n+5) { --note-rot: rotate(-0.8deg);background-color: #ffe5b4; }   /* peach */
.dcci-lab-idea-card:nth-child(6n+6) { --note-rot: rotate(1.2deg); background-color: #cfe8ff; }   /* sky */

/* Tape strip at top */
.dcci-lab-idea-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 16px;
    background: rgba(255,255,255,0.85);
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,1);
    background-image:
        repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(0,0,0,0.02) 4px, rgba(0,0,0,0.02) 5px),
        linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.78));
    z-index: 2;
}

.dcci-lab-idea-card:hover {
    transform: var(--note-rot, rotate(-1deg)) translateY(-6px) scale(1.03);
    box-shadow:
        8px 18px 36px rgba(0,0,0,0.5),
        0 4px 14px rgba(0,0,0,0.32),
        inset 0 1px 0 rgba(255,255,255,0.7);
    z-index: 5;
}

.dcci-lab-idea-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-top: 6px;
}

.dcci-lab-idea-card__title {
    font-size: 15.5px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.dcci-lab-idea-card__excerpt {
    font-size: 13px;
    color: #3d3d3d;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}

.dcci-lab-idea-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed rgba(0,0,0,0.15);
}

.dcci-lab-idea-card__submitter {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #555;
    font-style: italic;
}

.dcci-lab-idea-card__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255,255,255,0.7);
}

.dcci-lab-idea-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Vote button on note */
.dcci-lab-vote-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.6);
    border: 1.5px solid rgba(0,0,0,0.12);
    color: #2d2d2d;
    border-radius: 14px;
    padding: 3px 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--lab-transition);
}

.dcci-lab-vote-btn:hover { background: rgba(255,255,255,0.85); transform: scale(1.05); }
.dcci-lab-vote-btn--voted { background: #e91e63; color: #fff; border-color: #e91e63; }

.dcci-lab-comment-count {
    font-size: 11.5px;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Status / category badges scaled down on note */
.dcci-lab-idea-card .dcci-lab-badge {
    font-size: 9.5px;
    padding: 2px 8px;
    background: rgba(255,255,255,0.7);
    color: #2d2d2d !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Official response indicator on a note */
.dcci-lab-official-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(233,30,99,0.12);
    color: #c2185b;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px dashed rgba(233,30,99,0.4);
    align-self: flex-start;
}

/* Empty state on the corkboard becomes a single sticky note */
.dcci-lab-board-corkboard .dcci-lab-empty {
    color: rgba(100,75,0,0.7);
    grid-column: 1 / -1;
    padding: 60px 20px 80px;
}
.dcci-lab-board-corkboard .dcci-lab-empty__icon {
    font-size: 56px;
    filter: drop-shadow(2px 4px 8px rgba(180,130,0,0.25));
}
.dcci-lab-empty__img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(2px 4px 12px rgba(180,130,0,0.30));
}
.dcci-lab-board-corkboard .dcci-lab-empty p {
    color: rgba(100,75,0,0.65);
    font-weight: 500;
    margin-top: 8px;
}

/* Loading state on board */
.dcci-lab-board-corkboard .dcci-lab-loading {
    color: rgba(100,75,0,0.55);
    grid-column: 1 / -1;
}

/* ===================== BADGES ===================== */
.dcci-lab-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.dcci-lab-badge--pending        { background: #f0f0f0;    color: var(--status-pending); }
.dcci-lab-badge--approved       { background: #eafaf1;    color: var(--status-approved); }
.dcci-lab-badge--under_review   { background: #f5eef8;    color: var(--status-under_review); }
.dcci-lab-badge--in_development { background: #eaf3fb;    color: var(--status-in_development); }
.dcci-lab-badge--coming_soon    { background: #fce4ec;    color: var(--status-coming_soon); }
.dcci-lab-badge--live           { background: #e9f7ef;    color: var(--status-live); }
.dcci-lab-badge--rejected       { background: #fdedec;    color: var(--status-rejected); }
.dcci-lab-badge--beta           { background: var(--lab-yellow-light); color: #c0950a; border: 1px solid var(--lab-yellow); }

.dcci-lab-badge--cat-tool     { background: #eaf3fb; color: var(--cat-tool); }
.dcci-lab-badge--cat-resource { background: #f5eef8; color: var(--cat-resource); }
.dcci-lab-badge--cat-feature  { background: #fce4ec; color: var(--cat-feature); }
.dcci-lab-badge--cat-general  { background: #fef9e7; color: var(--cat-general); }

/* ===================== BETA TOOLS ===================== */
.dcci-lab-beta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.dcci-lab-beta-card {
    background: var(--lab-white);
    border: 1.5px solid var(--lab-border);
    border-radius: var(--lab-radius);
    overflow: hidden;
    box-shadow: var(--lab-shadow);
    transition: var(--lab-transition);
}
.dcci-lab-beta-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--lab-shadow-hover);
}

.dcci-lab-beta-card__thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--lab-yellow-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.dcci-lab-beta-card__body {
    padding: 20px;
}

.dcci-lab-beta-card__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dcci-lab-beta-card__excerpt {
    font-size: 13px;
    color: var(--lab-text-soft);
    line-height: 1.6;
    margin: 0 0 16px;
}

.dcci-lab-beta-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dcci-lab-avg-rating {
    font-size: 13px;
    font-weight: 600;
    color: var(--lab-text-soft);
}

/* ===================== ROADMAP ===================== */
.dcci-lab-roadmap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
}

.dcci-lab-roadmap-col {
    background: var(--lab-white);
    border-radius: var(--lab-radius);
    overflow: hidden;
    border: 1.5px solid var(--lab-border);
    box-shadow: var(--lab-shadow);
    min-height: 200px;
}

.dcci-lab-roadmap-col__header {
    background: var(--col-colour, #ccc);
    color: white;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.dcci-lab-roadmap-col__count {
    background: rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 12px;
    margin-left: auto;
}

.dcci-lab-roadmap-col__cards {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dcci-lab-roadmap-mini-card {
    background: var(--lab-yellow-pale);
    border: 1px solid var(--lab-yellow);
    border-radius: var(--lab-radius-sm);
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lab-text);
    line-height: 1.3;
}

.dcci-lab-roadmap-mini-card small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    color: var(--lab-text-soft);
    margin-top: 4px;
}

/* ===================== COMMENTS ===================== */
.dcci-lab-comments {
    margin-top: 20px;
    border-top: 1px solid var(--lab-border);
    padding-top: 16px;
}

.dcci-lab-comment {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.dcci-lab-comment__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.dcci-lab-comment__bubble {
    flex: 1;
    background: #f8f8f8;
    border-radius: 0 var(--lab-radius-sm) var(--lab-radius-sm) var(--lab-radius-sm);
    padding: 10px 14px;
}

.dcci-lab-comment__bubble--official {
    background: var(--lab-yellow-pale);
    border: 1px solid var(--lab-yellow);
}

.dcci-lab-comment__name {
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.dcci-lab-comment__official-tag {
    font-size: 10px;
    background: var(--lab-yellow);
    color: #333;
    padding: 1px 7px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dcci-lab-comment__text {
    font-size: 13px;
    color: var(--lab-text);
    line-height: 1.6;
}

.dcci-lab-comment__date {
    font-size: 11px;
    color: var(--lab-text-soft);
    margin-top: 4px;
}

.dcci-lab-comment-form {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.dcci-lab-comment-input {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    border: 2px solid var(--lab-border);
    border-radius: var(--lab-radius-sm);
    padding: 10px 14px;
    resize: vertical;
    transition: var(--lab-transition);
}

.dcci-lab-comment-input:focus {
    outline: none;
    border-color: var(--lab-yellow);
}

/* ===================== MODAL ===================== */
.dcci-lab-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dcci-lab-modal.is-open {
    display: flex;
}

.dcci-lab-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.dcci-lab-modal__box {
    position: relative;
    z-index: 1;
    background: var(--lab-white);
    border-radius: var(--lab-radius);
    padding: 36px 32px;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: dcci-lab-modal-in 0.25s ease;
}

.dcci-lab-modal__box--wide {
    max-width: 720px;
}

.dcci-lab-modal__box--fullscreen {
    max-width: 95vw;
    max-height: 92vh;
    width: 95vw;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 0;
}

@keyframes dcci-lab-modal-in {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.dcci-lab-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--lab-text-soft);
    line-height: 1;
    padding: 4px;
    transition: var(--lab-transition);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dcci-lab-modal__close:hover {
    background: var(--lab-yellow-pale);
    color: var(--lab-text);
}

.dcci-lab-modal__box h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.dcci-lab-modal__box > p {
    color: var(--lab-text-soft);
    margin: 0 0 24px;
    font-size: 14px;
}

/* ===================== FORM ===================== */
.dcci-lab-form__group {
    margin-bottom: 20px;
}

.dcci-lab-form__group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--lab-text);
}

.dcci-lab-form__group input,
.dcci-lab-form__group select,
.dcci-lab-form__group textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding: 10px 14px;
    border: 2px solid var(--lab-border);
    border-radius: var(--lab-radius-sm);
    transition: var(--lab-transition);
    color: var(--lab-text);
}

.dcci-lab-form__group input:focus,
.dcci-lab-form__group select:focus,
.dcci-lab-form__group textarea:focus {
    outline: none;
    border-color: var(--lab-yellow);
    box-shadow: 0 0 0 3px rgba(241,196,15,0.2);
}

/* ===================== TOOL MODAL ===================== */
.dcci-lab-tool-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.dcci-lab-tool-modal__header h2 {
    margin: 0;
    font-size: 20px;
}

#dcci-lab-tool-iframe {
    flex: 1;
    width: 100%;
    min-height: 400px;
    border-radius: var(--lab-radius-sm);
    border: 1px solid var(--lab-border);
}

.dcci-lab-tool-feedback-panel {
    background: var(--lab-yellow-pale);
    border: 1px solid var(--lab-yellow);
    border-radius: var(--lab-radius-sm);
    padding: 20px;
    margin-top: 16px;
}

.dcci-lab-tool-feedback-panel h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

/* Stars */
.dcci-lab-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.dcci-lab-star {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #ddd;
    transition: var(--lab-transition);
    padding: 0;
    line-height: 1;
}

.dcci-lab-star.is-active,
.dcci-lab-star:hover {
    color: var(--lab-yellow);
}

#dcci-lab-tool-feedback-text {
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    padding: 10px;
    border: 2px solid var(--lab-border);
    border-radius: var(--lab-radius-sm);
    margin-bottom: 12px;
    resize: vertical;
}

/* ===================== FEEDBACK / ALERTS ===================== */
.dcci-lab-feedback {
    padding: 12px 16px;
    border-radius: var(--lab-radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.dcci-lab-feedback--success {
    background: #eafaf1;
    color: #1e8449;
    border: 1px solid #a9dfbf;
}

.dcci-lab-feedback--error {
    background: #fdedec;
    color: #c0392b;
    border: 1px solid #f1948a;
}

/* ===================== LOADING ===================== */
.dcci-lab-loading {
    color: var(--lab-text-soft);
    font-size: 14px;
    padding: 20px;
    text-align: center;
    grid-column: 1 / -1;
}

/* ===================== EMPTY STATE ===================== */
.dcci-lab-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--lab-text-soft);
    grid-column: 1 / -1;
}
.dcci-lab-empty__icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* ===================== MY LAB ===================== */
.dcci-lab-my-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lab-yellow);
    display: inline-block;
}

/* ===================== OFFICIAL RESPONSE BLOCK ===================== */
.dcci-lab-official-response {
    background: var(--lab-yellow-pale);
    border-left: 4px solid var(--lab-yellow);
    border-radius: 0 var(--lab-radius-sm) var(--lab-radius-sm) 0;
    padding: 14px 18px;
    margin-top: 16px;
}

.dcci-lab-official-response__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #c0950a;
    margin-bottom: 6px;
}

.dcci-lab-official-response__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--lab-text);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
    .dcci-lab-roadmap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dcci-lab-tabs {
        gap: 4px;
    }
    .dcci-lab-tab {
        padding: 10px 12px;
        font-size: 12px;
    }
    .dcci-lab-roadmap {
        grid-template-columns: 1fr;
    }
    .dcci-lab-ideas-grid,
    .dcci-lab-beta-grid {
        grid-template-columns: 1fr;
    }
    .dcci-lab-board-header {
        flex-direction: column;
        align-items: stretch;
    }
}
/* ── Pinned welcome card — styled as a post-it note ── */
.dcci-lab-idea-card--pinned {
    --note-rot: rotate(-1.5deg);
    background-color: #fffde7;
    cursor: default;
}
.dcci-lab-idea-card--pinned:hover {
    transform: var(--note-rot);
    box-shadow:
        4px 8px 24px rgba(0,0,0,0.45),
        0 2px 8px rgba(0,0,0,0.30),
        inset 0 1px 0 rgba(255,255,255,0.6);
}
.dcci-lab-idea-card--pinned .dcci-lab-idea-card__title {
    color: #5a4400;
}
.dcci-lab-idea-card--pinned .dcci-lab-idea-card__excerpt {
    color: #4a3800;
    font-size: 13px;
    line-height: 1.6;
}
.dcci-lab-idea-card--pinned .dcci-lab-idea-card__submitter--team {
    color: #7a5c00;
    font-style: italic;
    font-size: 12px;
}
.dcci-lab-badge--pinned {
    background: rgba(241,196,15,0.3);
    color: #6b4c00;
    border: 1px solid rgba(241,196,15,0.6);
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}