:root {
    --verde-principal: #2e7d32;
    --verde-claro: #e8f5e9;
    --verde-acento: #66bb6a;
    --gris-oscuro: #1f1f1f;
    --gris-medio: #555;
    --blanco: #ffffff;
    --sombra: 0 8px 24px rgba(0,0,0,0.08);
    --radio: 14px;
    --transicion: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
    background: var(--blanco);
    color: var(--gris-oscuro);
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    background: white;
    box-shadow: var(--sombra);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--verde-principal);
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

/* nav user wrapper (controlled by JS) */
.nav-user-wrap { display:flex; align-items:center; gap:8px; margin-left:12px; }
.nav-user-wrap.hidden { display:none !important; }
.logout-btn { margin-left:8px; }

.nav-links a {
    text-decoration: none;
    color: var(--gris-oscuro);
    font-weight: 500;
    transition: var(--transicion);
}

.nav-links a:hover {
    color: var(--verde-principal);
}

/* Header/topbar (dashboard) helpers */
.topbar { padding: 12px 24px; background: white; box-shadow: var(--sombra); position: sticky; top: 0; z-index: 1200; display:flex; align-items:center; gap:16px; }
.top-left { display:flex; align-items:center; gap:16px; font-weight:700; color:var(--verde-principal); }
.project-controls { display:flex; gap:8px; align-items:center; margin-left:10px; }
.project-label { font-weight:600; color:var(--gris-oscuro); }
.top-right { margin-left:auto; display:flex; gap:18px; align-items:center; }
.nav-links { display:flex; gap:14px; align-items:center; }
.nav-links a { text-decoration:none; color:var(--gris-oscuro); font-weight:600; padding:8px 10px; border-radius:8px; transition:var(--transicion); }
.nav-links a:hover { background:var(--verde-claro); color:var(--verde-principal); }
.credit-pill { display:flex; align-items:center; gap:10px; }
.credit-pill .badge { background:var(--verde-claro); padding:6px 10px; border-radius:999px; }
.vip-badge { background:#ffe6b3; color:#7a4b00; padding:4px 10px; border-radius:999px; font-weight:700; }

/* Dropdown */
.dropdown {
    position: relative;
    padding-bottom: 12px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 14px 0;
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    min-width: 220px;
    z-index: 2100;
    margin-top: -12px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Botón principal */
.btn {
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transicion);
}

.btn-primary {
    background: var(--verde-principal);
    color: white;
}

.btn-primary:hover {
    background: var(--verde-acento);
}

/* ===== HERO ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8%;
    background: linear-gradient(120deg, var(--verde-claro), #ffffff);
}

.hero-text {
    max-width: 540px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    color: var(--gris-medio);
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
}

.hero-graphic {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, var(--verde-acento), var(--verde-principal));
    border-radius: 50%;
    opacity: 0.15;
}

/* ===== SECCIONES GENERALES ===== */
.section {
    padding: 80px 8%;
}

.section-light {
    background: var(--verde-claro);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

/* Proceso crecimiento */
.growth-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.step {
    background: white;
    padding: 20px;
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    width: 220px;
    text-align: center;
    transition: var(--transicion);
}

.step:hover {
    transform: translateY(-6px);
}

/* Resultados */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: white;
    padding: 22px;
    border-radius: var(--radio);
    box-shadow: var(--sombra);
}

/* IA + Humanos */
.split {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.split-box {
    flex: 1;
    min-width: 260px;
    padding: 24px;
    border-radius: var(--radio);
    background: white;
    box-shadow: var(--sombra);
}

/* CTA Final */
.cta {
    text-align: center;
    background: var(--verde-principal);
    color: white;
    padding: 80px 8%;
}

.cta h2 {
    margin-bottom: 20px;
}

/* Footer */
.footer {
    padding: 30px 8%;
    text-align: center;
    color: var(--gris-medio);
    font-size: 0.9rem;
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard {
    display: flex;
    min-height: 100vh;
    background: #f9fbf9;
}

.sidebar {
    width: 260px;
    background: white;
    padding: 20px;
    box-shadow: var(--sombra);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-header {
    font-weight: bold;
    margin-bottom: 16px;
    color: var(--verde-principal);
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.project-item {
    padding: 10px;
    border-radius: var(--radio);
    background: var(--verde-claro);
    cursor: pointer;
    font-size: 0.9rem;
}

.project-item.active {
    background: var(--verde-acento);
    color: white;
}

.project-item .stage {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.sidebar-footer {
    font-size: 0.85rem;
    color: var(--gris-medio);
}

.full {
    width: 100%;
}

/* MAIN PANEL */
.main-panel {
    flex: 1;
    padding: 40px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.badge {
    background: var(--verde-claro);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
}

/* GROWTH TRACK */
.growth-track {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.growth-step {
    padding: 8px 14px;
    border-radius: 999px;
    background: #ddd;
    font-size: 0.85rem;
}

.growth-step.done {
    background: var(--verde-acento);
    color: white;
}

.growth-step.active {
    background: var(--verde-principal);
    color: white;
}

.route-stage-content {
    margin-top: 12px;
}

/* PANEL CARD */
.panel-card {
    background: white;
    padding: 20px;
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    margin-bottom: 30px;
}

.page-panel {
    max-width: 720px;
    margin: 48px auto;
}

.page-panel.basis-wide-panel {
    max-width: none;
    width: 100%;
    margin: 48px 0;
    padding: 0 24px;
}

/* ACTIONS */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.action-card {
    background: white;
    padding: 18px;
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    cursor: pointer;
    transition: var(--transicion);
}

.action-card:hover {
    transform: translateY(-4px);
}

.recommendation-card {
    background: #ffffff;
    border-left: 6px solid var(--verde-principal);
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    cursor: pointer;
    transition: var(--transicion);
}

.recommendation-card:hover {
    transform: translateX(6px);
    background: var(--verde-claro);
}

.project-list {
    margin-top: 15px;
}

.project-item {
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #1e1e1e;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    transition: background 0.2s ease;
    color: white;
    font-weight: 700;
}

#projectList .project-item.active {
    background: var(--verde-claro);
    color: var(--gris-oscuro);
    font-weight: 700;
}

.project-item:hover {
    background: #2a2a2a;
}

/* ===== PROJECT TABS (internal) ===== */
.project-tabs {
    display:flex;
    gap:10px;
    align-items:center;
    padding:8px 0;
    width:100%;
}
.project-tabs .tab {
    padding:10px 14px;
    border-radius:999px;
    background:#f3f3f3;
    cursor:pointer;
    font-weight:600;
    transition: background 0.18s ease, transform 0.12s ease;
    border: none;
}
.project-tabs .tab:hover { background:#ececec; transform: translateY(-2px); }
.project-tabs .tab.active { background: var(--verde-principal); color: white; }
.project-tabs { overflow-x:auto; -webkit-overflow-scrolling: touch; }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn .18s ease; }

.team-invite-controls {
    margin-top: 12px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-role-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-members-list,
.team-pending-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-member-item,
.team-pending-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px 12px;
}

.team-role-pill {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f3f3f3;
    font-size: 12px;
    font-weight: 600;
}

.team-member-actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.team-password-card {
    max-width: 460px;
}

.team-password-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity:1; transform:none;} }

/* ===== ROUTE: REDACCION SUBTABS ===== */
.route-redaccion {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

.route-subtabs {
    flex: 0 0 220px;
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--sombra);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.route-subtabs .subtab-btn {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    background: #f3f3f3;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.18s ease, transform 0.12s ease;
}

.route-subtabs .subtab-btn:hover { background: #ececec; transform: translateY(-2px); }
.route-subtabs .subtab-btn.active { background: var(--verde-principal); color: white; }

.route-subcontent {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--sombra);
    min-height: 260px;
}

/* ===== ROUTE: ACECHO LIST/DETAIL ===== */
.acecho-route {
    display: flex;
    gap: 16px;
    align-items: stretch;
    flex-wrap: nowrap;
}

.acecho-section-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.acecho-list-container {
    flex: 0 0 38%;
    min-width: 260px;
}

.acecho-detail-container {
    flex: 1;
    min-width: 320px;
}

.acecho-list {
    border: 1px solid #eee;
    padding: 8px;
    border-radius: 6px;
    max-height: 520px;
    overflow: auto;
}

.acecho-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.acecho-item:last-child {
    border-bottom: none;
}

.acecho-item-header {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.acecho-delete,
.acecho-open {
    margin-left: 6px;
    background: transparent;
    border: none;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
}

.acecho-delete { color: #b00; }
.acecho-open { color: #333; }

.acecho-date {
    margin-left: 6px;
    color: #777;
}

.acecho-detail {
    border: 1px solid #eee;
    padding: 12px;
    border-radius: 6px;
    min-height: 300px;
    overflow: auto;
    background: #fff;
}

/* ===== ACECHO PAGE ===== */
.acecho-container {
    max-width: 1600px;
    width: 96%;
    margin: 0 auto;
    padding: 16px;
}

.acecho-top { margin-bottom: 10px; }
.acecho-top-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.acecho-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin: 12px 0 16px;
}

.acecho-name {
    flex: 1;
    min-width: 200px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.acecho-grid {
    display: flex;
    gap: 16px;
    align-items: stretch;
    flex-wrap: nowrap;
}

.acecho-block {
    flex: 1 1 0;
    min-width: 320px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--sombra);
}

.acecho-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.acecho-results textarea { display: none; }
.acecho-results textarea.active { display: block; }

.acecho-block textarea.full {
    min-height: 360px;
    height: 420px;
}

.acecho-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.acecho-modal-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    max-width: 820px;
    max-height: 80vh;
    width: min(820px, 92vw);
    overflow: auto;
    box-shadow: var(--sombra);
}

.acecho-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.acecho-modal-close {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.acecho-modal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acecho-modal-item {
    background: #f9a340;
    color: #1f1f1f;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.acecho-modal-item .muted {
    color: #3a2b16;
}

.acecho-modal-item .acecho-load-select {
    background: #fff3e0;
    border: none;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 600;
    cursor: pointer;
}

.acecho-modal-empty {
    padding: 12px;
    border-radius: 10px;
    background: #fff3e0;
}

@media (max-width:1200px){
    .acecho-grid { flex-wrap: wrap; }
}

/* header helpers */
.project-header { display:flex; align-items:center; justify-content:space-between; }
.project-nudge { margin-left:12px; color:var(--gris-medio); }

/* small helper for greeting in header */
.user-greeting { margin-right:12px; }

/* utility helpers */
.hidden { display:none !important; }
.btn-full { width:100%; margin-top:8px; }

/* assign controls */
.assign-controls { display:flex; gap:8px; align-items:center; margin-top:8px; }
.assign-input { width:120px; padding:8px; border-radius:6px; border:1px solid #ddd; }

/* modal improvements */
.modal { position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,0.4); }
.modal .card { background:white; padding:20px; border-radius:10px; width:420px; max-width:92%; }

/* credits history */
.credits-history { margin-top:12px; }
.credits-history .entry { padding:8px; border-bottom:1px solid #efefef; font-size:14px; }
.credits-history .entry .muted { color:var(--gris-medio); font-size:12px; }

/* small responsive tweaks */
@media (max-width:720px){
    .project-tabs { gap:8px; padding:6px 0; }
    .project-tabs .tab { padding:8px 12px; font-size:14px; }
}

@media (max-width:900px){
    .route-redaccion { flex-direction: column; }
    .route-subtabs { flex-direction: row; flex-wrap: wrap; }
    .route-subtabs .subtab-btn { flex: 1 1 140px; text-align: center; }
    .acecho-route { flex-direction: column; }
    .acecho-list-container, .acecho-detail-container { min-width: 0; }
}

/* utility */
.muted { color: var(--gris-medio); }
.credits-actions { display:flex; gap:8px; }
.summary-block { margin-top:12px; }

.evaluation-card {
    background: #ffffff;
    border-radius: var(--radio);
    padding: 16px;
    box-shadow: var(--sombra);
}

.evaluation-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}

.evaluation-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.evaluation-actions-bottom {
    margin-top: 12px;
}

.evaluation-body {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.evaluation-body-large {
    padding: 100px 0 100px;
    min-height: 700px;
}

.evaluation-comment {
    max-width: 360px;
}

#evaluationRadar {
    width: 100%;
    max-width: 640px;
    display: block;
}

.vip-dimensions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.vip-dimension {
    background: #f6fbf6;
    border-radius: 10px;
    padding: 10px;
    box-shadow: var(--sombra);
}

.vip-bar {
    height: 8px;
    background: #e1efe4;
    border-radius: 999px;
    overflow: hidden;
}

.vip-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--verde-acento), var(--verde-principal));
    width: 0%;
}

.radar-tooltip {
    position: absolute;
    background: #ffffff;
    border: 1px solid #d7e5db;
    padding: 8px 10px;
    border-radius: 8px;
    box-shadow: var(--sombra);
    font-size: 0.85rem;
    max-width: 260px;
    z-index: 10;
}

.modal-footer { margin-top:12px; text-align:right; }

.assign-controls .muted { margin-left:12px; }

.project-item-name { flex: 1; }
.project-item-stage { color: var(--gris-medio); }

.project-item.active {
    border-left: 4px solid #4CAF50;
    background: #252f25;
}

/* project item inner structure (for JS-created elements) */
.project-item-inner { display:flex; flex-direction:column; gap:6px; }
.project-meta-row { display:flex; gap:8px; align-items:center; font-size:13px; }
.project-meta-line { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.project-meta-side { display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.project-progress { display:flex; align-items:center; }
.progress-bar { width:72px; background:#eee; border-radius:8px; overflow:hidden; height:10px; }
.progress-fill { height:10px; background: linear-gradient(90deg,var(--verde-acento),var(--verde-principal)); width:0%; }
.small-text { font-size:13px; }

.tag-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.stage {
    font-size: 11px;
    opacity: 0.7;
}

.deadline-box {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: var(--radio);
    background: #fff3e0;
    border-left: 6px solid #fb8c00;
    box-shadow: var(--sombra);
    font-size: 0.95rem;
}

.project-nudge {
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--gris-medio);
}

/* ===== DOCUMENTS MANAGER ===== */
.docs-layout {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.docs-explorer {
    flex: 1.2;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--sombra);
    display: flex;
    flex-direction: column;
}

.docs-info {
    flex: 0.8;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--sombra);
}

.docs-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.drop-zone {
    border: 2px dashed var(--verde-claro);
    padding: 18px;
    text-align: center;
    border-radius: 10px;
    color: var(--gris-medio);
    margin-bottom: 14px;
    transition: 0.2s;
}

.drop-zone.dragover {
    background: var(--verde-claro);
    color: var(--verde-principal);
}

.file-browser {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.file-item:hover {
    background: #f5f5f5;
}

.file-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Estados IA */
.status-uploaded { background: #f4c542; }        /* amarillo */
.status-error { background: #e74c3c; }           /* rojo */
.status-embedded { background: #9acd32; }        /* verde amarillento */
.status-consolidated { background: #2ecc71; }    /* verde intenso */
.status-indexed { background: #2e7d32; }         /* verde profundo */

/* Center auth pages (override potential conflicting rules) */
body.auth-page main .auth-center {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 25vh 16px 32px;
}
body.auth-page .auth-card {
    margin: 0 auto;
}

/* Specific offset for register page (use vw so it's responsive) */
body.register-page main .auth-center {
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 25vh;
    padding-left: 10vw;
}

body.register-page .auth-card {
    margin: 0; /* ensure it doesn't auto-center */
}

/* ===== CYTA PAGE ===== */
.cyta-page {
    padding: 40px 8%;
    background: linear-gradient(180deg, #fffaf3 0%, #ffffff 45%, #f9fbf9 100%);
    min-height: calc(100vh - 80px);
}

.cyta-hero {
    background: #cfe8d4;
    border-radius: var(--radio);
    padding: 24px;
    box-shadow: var(--sombra);
    margin-bottom: 24px;
}

.cyta-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cyta-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f37d00;
}

.cyta-subtitle {
    color: var(--gris-medio);
}

.cyta-project {
    font-weight: 600;
}

.cyta-project-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cyta-project-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.cyta-panel {
    background: #d8efdd;
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cyta-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.cyta-field select,
.cyta-field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #8fc19c;
    background: #b7d9c0;
}

.cyta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cyta-inline {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.cyta-grow {
    flex: 1;
}

.cyta-btn-orange {
    background: #f37d00;
    color: white;
}

.cyta-btn-orange:hover {
    background: #ff9c3a;
}

.cyta-results {
    background: #b7d9c0;
    padding: 14px;
    border-radius: 10px;
    min-height: 220px;
    white-space: pre-wrap;
}

/* ===== ARBOR ===== */
.arbor-page {
    background: var(--blanco);
}

.arbor-main {
    padding: 28px 8%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.arbor-tabs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.arbor-tabs-row .project-tabs {
    flex: 1 1 360px;
    min-width: 300px;
}

.arbor-hero h1 {
    margin-bottom: 4px;
}

.arbor-toolbar {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 14px;
    margin-bottom: 12px;
}

.arbor-filter-group,
.arbor-search-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arbor-filter-group select,
.arbor-search-group input {
    border: 1px solid var(--verde-claro);
    border-radius: var(--radio);
    padding: 10px 12px;
}

.arbor-search-row {
    display: flex;
    gap: 8px;
}

.arbor-search-row input {
    flex: 1;
}

.arbor-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
    align-items: start;
}

.arbor-list-wrap {
    border: 1px solid var(--verde-claro);
    border-radius: var(--radio);
    overflow: hidden;
}

.arbor-table {
    width: 100%;
    border-collapse: collapse;
}

.arbor-table th,
.arbor-table td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid var(--verde-claro);
    font-size: 14px;
}

.arbor-sortable {
    cursor: pointer;
    user-select: none;
}

.arbor-sortable:hover {
    background: var(--verde-claro);
}

.arbor-doc-row {
    cursor: pointer;
}

.arbor-doc-row:hover,
.arbor-doc-row.active {
    background: var(--verde-claro);
}

.arbor-title-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.arbor-title-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.arbor-index-btn {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--verde-claro);
    color: var(--verde-principal);
}

.arbor-index-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.arbor-delete-btn {
    padding: 4px 10px;
    border-radius: 999px;
    background: #f6d7d7;
}

.arbor-delete-btn:hover {
    background: #efbaba;
}

.arbor-status-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-pending {
    background: #f4c542;
}

.status-indexed {
    background: #2ecc71;
}

.status-error {
    background: #e74c3c;
}

.arbor-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 10px;
}

.arbor-detail {
    min-height: 420px;
}

.arbor-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.arbor-meta-row {
    font-size: 14px;
}

.arbor-detail-actions {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.arbor-token-summary {
    font-size: 13px;
    border-radius: 10px;
    border: 1px dashed var(--verde-acento);
    background: #f0fcf6;
    padding: 6px 10px;
}

.arbor-preview-frame {
    width: 100%;
    min-height: 220px;
    border: 1px solid var(--verde-claro);
    border-radius: 10px;
}

.arbor-preview-text {
    white-space: pre-wrap;
    border: 1px solid var(--verde-claro);
    border-radius: 10px;
    padding: 10px;
    min-height: 180px;
    max-height: 280px;
    overflow: auto;
}

.arbor-fragments-wrap {
    margin-top: 10px;
    max-height: 280px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#branchesContentWrap {
    max-height: none;
    overflow: visible;
}

.branch-level-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.branch-level-controls label {
    font-weight: 600;
}

.branch-level-controls select {
    min-width: 240px;
}

#ringsSummaryWrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    max-height: none;
}

.rings-summary-column {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rings-id-divider {
    border-top: 1px solid var(--verde-claro);
    margin: 4px 0;
}

.rings-id-alert {
    border: 1px solid #efbaba;
    background: #f6d7d7;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 13px;
}

.branches-tabs-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 12px;
}

.branch-tab-btn {
    border: 1px solid var(--verde-claro);
    background: var(--blanco);
    color: var(--texto-principal);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
}

.branch-tab-btn:hover {
    border-color: var(--verde-acento);
}

.branch-tab-btn.active {
    background: var(--verde-acento);
    color: var(--blanco);
    border-color: var(--verde-acento);
}

.branch-tab-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.arbor-fragment-item {
    border: 1px solid var(--verde-claro);
    border-radius: 10px;
    padding: 8px;
}

.arbor-fragment-head {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}

.arbor-fragment-item pre {
    white-space: pre-wrap;
    font-size: 12px;
}

.leaf-item-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.3fr);
    gap: 12px;
    align-items: start;
}

.leaf-question-col,
.leaf-box-col {
    border: 1px solid var(--verde-claro);
    border-radius: 8px;
    padding: 8px;
    background: var(--blanco);
}

.leaf-box-textarea {
    width: 100%;
    min-height: 180px;
    margin-top: 8px;
    resize: vertical;
}

.leaf-ai-comment {
    margin-top: 8px;
    font-size: 12px;
    border-radius: 8px;
    padding: 6px 8px;
    border: 1px solid var(--verde-claro);
    background: #f7fbf8;
}

.leaf-ai-comment.approved {
    border-color: #8bc89a;
    background: #eef9f1;
}

.leaf-ai-comment.rejected {
    border-color: #efbaba;
    background: #fdf0f0;
}

.leaf-ai-comment.pending {
    border-color: #d8d8a8;
    background: #faf9ee;
}

.leaf-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.branch-diagnostics-wrap {
    margin-top: 8px;
    border: 1px solid var(--verde-claro);
    border-radius: 8px;
    padding: 8px;
    background: #f7fbf8;
}

.branch-block-list {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.branch-block-item {
    font-size: 12px;
}

.arbor-tree-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.arbor-text-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.arbor-tree-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px;
}

.arbor-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--texto-principal);
}

.arbor-legend-dot,
.arbor-legend-tri {
    width: 12px;
    height: 12px;
    display: inline-block;
}

.arbor-legend-dot {
    border-radius: 999px;
}

.arbor-legend-tri {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.arbor-tree-stage {
    position: relative;
    width: 100%;
    min-height: 640px;
    height: calc(100vh - 260px);
    border: 1px solid var(--verde-claro);
    border-radius: 10px;
    background: #0f172a;
    overflow: hidden;
}

.arbor-tree-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.arbor-tree-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    z-index: 3;
}

.rings-visual-wrap {
    display: grid;
    gap: 10px;
    justify-items: center;
    margin-bottom: 12px;
}

.rings-visual-wrap-inline {
    margin-bottom: 0;
    justify-items: end;
    gap: 4px;
}

.rings-visual {
    position: relative;
    width: 132px;
    height: 132px;
}

.ring-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    border: 2px solid var(--verde-acento);
    background: transparent;
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease, background-color .12s ease;
}

.ring-layer:hover {
    transform: translate(-50%, -50%) scale(1.02);
}

.ring-layer-3 {
    width: 100px;
    height: 100px;
}

.ring-layer-4 {
    width: 132px;
    height: 132px;
}

.ring-layer-2 {
    width: 72px;
    height: 72px;
}

.ring-layer-1 {
    width: 44px;
    height: 44px;
}

.ring-layer.active {
    background: var(--verde-claro);
    border-color: var(--verde-principal);
}

.ring-layer-label {
    position: absolute;
    font-weight: 700;
    color: var(--verde-principal);
    pointer-events: none;
}

.ring-label-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-label-2 {
    top: 24%;
    left: 50%;
    transform: translateX(-50%);
}

.ring-label-3 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.ring-label-4 {
    top: -2%;
    left: 50%;
    transform: translateX(-50%);
}

.rings-active-message {
    max-width: 360px;
    text-align: right;
    font-size: 12px;
}

.rings-actions-toolbar {
    grid-template-columns: 1fr;
    margin-bottom: 10px;
}

.rings-actions-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.rings-actions-group .btn {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .arbor-tabs-row {
        align-items: flex-start;
    }
    .rings-visual-wrap-inline {
        width: 100%;
        justify-items: center;
    }
    .rings-active-message {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 1100px) {
    .arbor-toolbar,
    .arbor-layout {
        grid-template-columns: 1fr;
    }

    .arbor-search-row {
        flex-wrap: wrap;
    }
}

@media (max-width: 720px) {
    .cyta-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .rings-actions-group .btn {
        width: 100%;
    }

    #ringsSummaryWrap {
        flex-direction: column;
    }
}

/* ===== PROJECTS GUIDE + BRIEF ===== */
.projects-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.projects-guide {
    background: #f3f9f4;
    border-radius: var(--radio);
    padding: 16px;
    box-shadow: var(--sombra);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.projects-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-invitations-wrap {
    background: #f5ecff;
    border: 1px solid #dcc4ff;
    border-radius: 12px;
    padding: 12px;
}

.project-invitations-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.project-invitation-item {
    background: #ffffff;
    border: 1px solid #e8d9ff;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.project-invitation-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.control-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.basis-experts-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.basis-myfunds-pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.basis-chat-form {
    width: 100%;
    max-width: 100%;
}

.basis-chat-form #basisChatQuestion {
    width: 90%;
    margin: 0 5%;
    min-height: 96px;
    resize: none;
}

.basis-chat-form #basisChatContest {
    width: 90%;
    margin: 0 5%;
}

.basis-close-date {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.basis-close-date-expired {
    background: #fdecec;
    color: #a43b3b;
}

.basis-close-date-near {
    background: #fff1e6;
    color: #b45a1c;
}

.basis-close-date-soon {
    background: #fff8dd;
    color: #8a6a00;
}

.basis-close-date-active {
    background: #eaf8ee;
    color: #2f7a48;
}

.basis-cal-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.basis-cal-compact {
    width: 33%;
    min-width: 320px;
    margin: 0 auto;
}

.basis-cal-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.basis-cal-month {
    font-weight: 700;
    min-width: 170px;
    text-align: center;
}

.basis-cal-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
}

.basis-cal-filters label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.basis-cal-head,
.basis-cal-week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.basis-cal-head {
    margin-bottom: 6px;
}

.basis-cal-head > div {
    background: #f3f9f4;
    border: 1px solid #e4efe8;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 4px;
}

.basis-cal-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.basis-cal-day {
    min-height: 92px;
    border: 1px solid #e7ece9;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (max-width: 1200px) {
    .basis-cal-compact {
        width: 55%;
    }
}

@media (max-width: 900px) {
    .basis-cal-compact {
        width: 90%;
        min-width: 0;
    }
}

.basis-cal-day.out-month {
    background: #fafcfa;
    opacity: 0.7;
}

.basis-cal-day-num {
    font-weight: 700;
    font-size: 12px;
    color: #4c5a52;
}

.basis-cal-segs {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.basis-cal-seg {
    height: 6px;
    border-radius: 3px;
    background: #c8e8d2;
}

.basis-cal-seg.start {
    background: #c9dbff;
}

.basis-cal-seg.end {
    background: #ffd2d2;
}

.basis-cal-more {
    font-size: 11px;
    color: #6c7a73;
}

.about-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-block h4 {
    margin-top: 8px;
}

.about-block ul,
.about-block ol {
    padding-left: 20px;
}

.control-table-wrap {
    overflow-x: auto;
}

.control-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.control-table th,
.control-table td {
    padding: 10px;
    border-bottom: 1px solid #e8ece9;
    text-align: left;
    font-size: 14px;
}

.control-table th {
    background: #f3f9f4;
    font-weight: 700;
}

.control-subtabs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.control-subtab {
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    background: #eef3ef;
    font-weight: 700;
}

.control-subtab.active {
    background: var(--verde-principal);
    color: #fff;
}

.control-subtab-panel {
    display: none;
}

.control-subtab-panel.active {
    display: block;
}

.control-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.control-chip-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.control-chip {
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    background: #eef3ef;
    font-weight: 700;
}

.control-chip.active {
    background: var(--verde-principal);
    color: #fff;
}

.basis-graf-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #eef3ef;
    overflow: hidden;
}

.basis-graf-bar {
    height: 100%;
    border-radius: 999px;
    background: var(--verde-principal);
}

.basis-graf-plot-wrap {
    position: relative;
    border: 1px solid #e8ece9;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
    min-height: 360px;
}

.basis-graf-svg {
    width: 100%;
    min-height: 340px;
    display: block;
}

.basis-graf-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
}

.basis-graf-grid {
    stroke: #eef3ef;
    stroke-width: 1;
}

.basis-graf-axis {
    stroke: #6c7a73;
    stroke-width: 1.2;
}

.basis-graf-line {
    fill: none;
    stroke: var(--verde-principal);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.basis-graf-point {
    fill: var(--verde-principal);
    fill-opacity: 0.55;
    stroke: #fff;
    stroke-width: 1.2;
    cursor: pointer;
    transition: r .12s ease, fill-opacity .12s ease, stroke-width .12s ease;
}

.basis-graf-point.active {
    fill-opacity: 0.85;
    stroke-width: 2.4;
}

.basis-graf-point:focus {
    outline: none;
}

.basis-graf-label {
    fill: #6c7a73;
    font-size: 12px;
}

.basis-graf-axis-title {
    fill: #4c5a52;
    font-size: 13px;
    font-weight: 700;
}

.basis-graf-bubble-count {
    fill: #ffffff;
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
}

.basis-graf-detail {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #e8ece9;
    border-radius: 8px;
    background: #f3f9f4;
    line-height: 1.4;
}

.basis-graf-group-list {
    margin: 8px 0 0;
    padding-left: 18px;
}

.basis-graf-group-list li + li {
    margin-top: 4px;
}

.projects-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.project-search {
    max-width: 220px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d8e6dc;
}

.project-pagination {
    display: flex;
    gap: 6px;
    align-items: center;
}

.project-page-btn {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: #eef3ef;
    cursor: pointer;
    font-weight: 700;
}

.project-page-btn.active {
    background: var(--verde-principal);
    color: white;
}

#projectsRadar {
    width: 100%;
    max-width: 520px;
}

.projects-radar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.project-brief {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed #b8d9bf;
}

.brief-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.brief-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.brief-field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e3e3e3;
}

.brief-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .projects-layout {
        grid-template-columns: 1fr;
    }
}

/* ===== PROFILE WIZARD ===== */
.profile-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.profile-title {
    min-width: 260px;
}

.profile-steps-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-progress {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-right: 12px;
    align-items: flex-start;
    padding-bottom: 6px;
    transform: translateY(-6px);
    position: relative;
    z-index: 5;
}

.profile-progress-label {
    font-weight: 600;
    color: var(--gris-medio);
}

.profile-bar {
    height: 18px;
    width: 520px;
    max-width: 520px;
}

.profile-bar .progress-fill {
    height: 100%;
}

.profile-step-indicator {
    font-weight: 700;
}

.profile-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.profile-step-tab {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: none;
    background: #eef3ef;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transicion);
}

.profile-step-tab.active {
    background: var(--verde-principal);
    color: #fff;
}

.profile-card {
    background: #f4fbf5;
    border-radius: var(--radio);
    padding: 18px;
    box-shadow: var(--sombra);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.profile-field input,
.profile-field textarea,
.profile-field select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cdded0;
    background: #ffffff;
}

.profile-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e6f3e8;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.9rem;
}

.profile-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
}

@media (max-width: 720px) {
    .profile-actions {
        flex-direction: column;
        gap: 10px;
    }
}

.branches-alerts-wrap {
    margin: 10px 0 12px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
}

.rings-visual-wrap-inline .branches-alerts-wrap {
    margin: 0;
    max-width: 420px;
}

.branches-alerts-wrap.has-alerts {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #92400e;
}

.branch-alert-line {
    margin: 6px 0;
    line-height: 1.35;
}

.project-alert-inline {
    margin-top: 6px;
    margin-bottom: 8px;
    border: 1px solid #f59e0b;
    background: #fffbeb;
    border-radius: 8px;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-alert-text {
    flex: 1;
    font-size: 12px;
    color: #92400e;
    line-height: 1.3;
}

.project-alert-nav {
    width: 20px;
    height: 20px;
    border: 1px solid #f59e0b;
    background: #ffffff;
    color: #92400e;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.project-alert-idx {
    min-width: 34px;
    text-align: right;
}
