/* Shared polish for module referential hubs — largeur limitée, tailles normales */
.web-module-polish {
    --hub-primary: var(--erp-accent, #0d9488);
    --hub-primary-soft: var(--erp-accent-soft, #ccfbf1);
    --hub-surface: var(--erp-surface, #ffffff);
    --hub-border: var(--erp-border, #e2e8f0);
    --hub-text: var(--erp-ink, #0b1220);
    --hub-muted: var(--erp-muted, #64748b);
    font-family: var(--erp-font-sans, "Manrope", "Segoe UI", sans-serif);
    max-width: none;
}

.web-module-polish .module-hero-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 220px at 92% -20%, rgba(255, 255, 255, 0.22), transparent 55%),
        radial-gradient(500px 180px at 10% 120%, rgba(15, 23, 42, 0.18), transparent 50%),
        linear-gradient(135deg, #0f766e 0%, #0d9488 45%, #134e4a 100%);
    border-radius: 1.15rem;
    color: #fff;
    padding: 1rem 1.25rem;
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.28);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    animation: sky-hub-in 0.45s ease-out both;
    max-width: none;
}

.web-module-polish .module-hero-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.web-module-polish .module-hero-title {
    font-family: var(--erp-font-display, "Plus Jakarta Sans", sans-serif);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.3rem;
}

.web-module-polish .module-hero-subtitle {
    font-size: 0.88rem;
    opacity: 0.92;
    margin-bottom: 1rem;
    max-width: 40rem;
    line-height: 1.45;
}

.web-module-polish .module-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.6rem;
    position: relative;
    z-index: 1;
    max-width: none;
}

.web-module-polish .module-quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.96);
    color: var(--hub-primary);
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.65rem 0.8rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.web-module-polish .module-quick-link i {
    font-size: 1.05rem;
    opacity: 0.9;
}

.web-module-polish .module-quick-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
    color: var(--erp-accent-ink, #115e59);
    background: #fff;
}

.web-module-polish .module-info-strip {
    border: 1px solid var(--hub-border);
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.88);
    backdrop-filter: blur(10px);
    padding: 0.95rem 1.05rem;
    margin-bottom: 1rem;
    box-shadow: var(--erp-shadow, 0 1px 2px rgb(15 23 42 / 0.06));
    max-width: none;
}

.web-module-polish .module-info-title {
    font-family: var(--erp-font-display, "Plus Jakarta Sans", sans-serif);
    color: var(--hub-text);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
}

.web-module-polish .module-info-text {
    color: var(--hub-muted);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.45;
}

@keyframes sky-hub-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cahier de cotation */
.cotation-sheet .cotation-meta__title {
    font-family: var(--erp-font-display, "Plus Jakarta Sans", sans-serif);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    color: #0f172a;
}
.cotation-sheet .cotation-meta__row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.82rem;
    color: #475569;
    margin-top: 0.35rem;
}
.cotation-table {
    font-size: 0.78rem;
    white-space: nowrap;
}
.cotation-table thead th {
    background: #f8fafc;
    vertical-align: middle;
    font-weight: 600;
}
.cotation-table .cotation-name-col {
    min-width: 180px;
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
}
.cotation-table thead .cotation-name-col {
    background: #f8fafc;
    z-index: 2;
}
.cotation-table .cotation-moy { background: #f1f5f9; }
.cotation-table .cotation-tot { background: #e2e8f0; font-weight: 600; }
.cotation-table .cotation-tot-gen {
    background: #fff1f2;
    color: #be123c;
    font-weight: 700;
    min-width: 72px;
}
.cotation-table .cotation-thead-sem th { background: #ecfeff; }
.cotation-table .cotation-thead-per th { background: #f0fdfa; }
.cotation-table .cotation-eval { min-width: 36px; }
.cotation-table .cotation-above-avg {
    color: #be123c !important;
    font-weight: 700;
}
