/* margarica.css — site de estudiantes. Sin framework: una paleta (amarillo
   margarita #e0a800, verde tallo #5a8f3a), tipografía del sistema, móvil primero. */
:root {
    --mgc-yellow: #e0a800; --mgc-yellow-dark: #b98a00; --mgc-green: #5a8f3a;
    --mgc-ink: #22261f; --mgc-muted: #6c716a; --mgc-line: rgba(0,0,0,.09);
    --mgc-bg: linear-gradient(180deg, #eaf6ff 0%, #fdfcf7 60%, #f6f9ef 100%);
    --mgc-card: #fff; --mgc-danger: #c0392b;
}
* { box-sizing: border-box; }
html { height: 100%; }
body { margin: 0; min-height: 100%; display: flex; flex-direction: column; color: var(--mgc-ink);
       font: 16px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; background: var(--mgc-bg); }
a { color: var(--mgc-green); }
h1 { font-size: 1.6rem; margin: 0 0 .5rem; } h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
p { margin: 0 0 .8rem; }

/* cabecera */
.mgc-top { display: flex; align-items: center; justify-content: space-between; padding: .7rem 1rem; gap: 1rem; }
.mgc-brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--mgc-ink); font-weight: 600; font-size: 1.15rem; }
.mgc-brand-img { height: 34px; width: auto; }
.mgc-nav { display: flex; align-items: center; gap: .8rem; }
.mgc-nav-link { color: var(--mgc-ink); text-decoration: none; }
.mgc-inline { display: inline; }

/* botones */
.mgc-btn { display: inline-block; border: 1px solid transparent; border-radius: 8px; padding: .6rem 1.1rem; font: inherit; font-weight: 600;
           cursor: pointer; text-decoration: none; line-height: 1.2; }
.mgc-btn-primary { background: var(--mgc-yellow); color: #222; }
.mgc-btn-primary:hover { background: var(--mgc-yellow-dark); }
.mgc-btn-ghost { background: transparent; color: var(--mgc-ink); border-color: var(--mgc-line); }
.mgc-btn-ghost:hover { background: rgba(0,0,0,.04); }
.mgc-btn-danger { background: transparent; color: var(--mgc-danger); border-color: var(--mgc-danger); }
.mgc-btn-sm { padding: .4rem .8rem; font-size: .92rem; }
.mgc-btn-block { display: block; width: 100%; text-align: center; }

/* layout */
.mgc-main { flex: 1; width: 100%; max-width: 900px; margin: 0 auto; padding: 1rem 16px 2rem; }
.mgc-card { background: var(--mgc-card); border: 1px solid var(--mgc-line); border-radius: 12px; padding: 1.3rem 1.4rem; margin-bottom: 1rem;
            box-shadow: 0 6px 18px rgba(60,90,40,.06); }
.mgc-card-narrow { max-width: 440px; margin-left: auto; margin-right: auto; }
.mgc-card-danger { border-color: rgba(192,57,43,.35); }
.mgc-center { text-align: center; }
.mgc-muted { color: var(--mgc-muted); } .mgc-small { font-size: .88rem; }

/* home */
.mgc-hero { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; padding: 1.5rem 0; text-align: center; }
.mgc-flor { max-height: 42vh; max-width: 70vw; height: auto; width: auto; filter: drop-shadow(0 18px 30px rgba(60,90,40,.18));
            animation: mecerse 6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes mecerse { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
@media (prefers-reduced-motion: reduce) { .mgc-flor { animation: none; } }
.mgc-hero-text { max-width: 520px; }
.mgc-hero-text h1 { font-size: 1.9rem; }
.mgc-hero-cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; }
@media (min-width: 760px) {
    .mgc-hero { flex-direction: row; text-align: left; justify-content: center; gap: 2.5rem; }
    .mgc-hero-cta { justify-content: flex-start; }
}

/* formularios */
.mgc-form label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: .8rem; }
.mgc-form input[type=text], .mgc-form input[type=email], .mgc-form input[type=password] {
    display: block; width: 100%; margin-top: .25rem; padding: .6rem .7rem; font: inherit; font-weight: 400;
    border: 1px solid #cfd4c9; border-radius: 8px; background: #fff; }
.mgc-form input:focus { outline: 2px solid rgba(224,168,0,.45); border-color: var(--mgc-yellow); }
.mgc-form input[disabled] { background: #f3f4ef; color: var(--mgc-muted); }
.mgc-check { display: flex !important; gap: .5rem; align-items: flex-start; font-weight: 400 !important; }
.mgc-check input { margin-top: .3rem; }
.mgc-form-row { display: grid; grid-template-columns: 1fr; gap: .2rem .8rem; align-items: end; }
@media (min-width: 640px) { .mgc-form-row { grid-template-columns: 1fr 1fr auto; } .mgc-form-row .mgc-check { grid-column: 1 / -1; } }
.mgc-form-row .mgc-btn { margin-bottom: .8rem; }

.cf-turnstile { margin: .2rem 0 .9rem; }

/* flashes */
.mgc-flashes { margin-bottom: 1rem; }
.mgc-flash { padding: .6rem .9rem; border-radius: 8px; margin-bottom: .5rem; border: 1px solid transparent; }
.mgc-flash-success { background: #e8f5e9; border-color: #b7dfb9; }
.mgc-flash-info { background: #e3f2fd; border-color: #b6d9f5; }
.mgc-flash-warning { background: #fff8e1; border-color: #f2dd9a; }
.mgc-flash-danger { background: #fdecea; border-color: #f2b8b2; color: #7a1f14; }

/* legal */
.mgc-legal h2 { margin-top: 1.2rem; }
.mgc-legal-nav { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: .92rem; }
.mgc-legal-nav a.active { font-weight: 600; color: var(--mgc-ink); }

/* pie */
.mgc-foot { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: center; padding: 1rem; font-size: .82rem; color: var(--mgc-muted); }
.mgc-foot a { color: var(--mgc-muted); }

/* tienda (4b) */
.mgc-crumbs { font-size: .88rem; color: var(--mgc-muted); margin-bottom: .3rem; }
.mgc-list { list-style: none; padding: 0; margin: 0; }
.mgc-list-link { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .7rem .2rem; border-top: 1px solid var(--mgc-line);
                 text-decoration: none; color: var(--mgc-ink); }
.mgc-list-link:hover { background: rgba(224,168,0,.06); }
.mgc-list-side { color: var(--mgc-muted); font-size: .88rem; white-space: nowrap; text-align: right; }
.mgc-list-row { display: flex; justify-content: space-between; padding: .4rem 0; border-top: 1px solid var(--mgc-line); }
.mgc-degree { margin-top: 1.2rem; color: var(--mgc-green); font-size: 1rem; }
.mgc-tag { display: inline-block; font-size: .72rem; padding: .05rem .4rem; border-radius: 4px; margin-left: .4rem; vertical-align: middle; }
.mgc-tag-ok { background: #e8f5e9; color: #2e7d32; }
.mgc-buybox { margin-top: 1rem; padding: 1rem; border: 1px dashed rgba(0,0,0,.2); border-radius: 10px; background: #fffdf3; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.mgc-buybox p { margin: 0; flex-basis: 100%; }
.mgc-facts { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin: .8rem 0; }
.mgc-facts > div { display: flex; flex-direction: column; }
.mgc-fact-v { font-size: 1.4rem; font-weight: 600; line-height: 1.1; }
.mgc-fact-l { font-size: .8rem; color: var(--mgc-muted); }
.mgc-difflist { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.mgc-diff { display: inline-block; min-width: 1.5rem; text-align: center; font-weight: 600; border-radius: 4px; padding: 0 .3rem; border: 1px solid rgba(0,0,0,.08); }
.mgc-diff-1 { background: #e8f5e9; } .mgc-diff-2 { background: #e3f2fd; } .mgc-diff-3 { background: #fff8e1; }
.mgc-diff-4 { background: #fbe9e7; } .mgc-diff-5 { background: #ede7f6; }
.mgc-index { columns: 2; column-gap: 2rem; font-size: .92rem; padding-left: 1.4rem; }
@media (max-width: 640px) { .mgc-index { columns: 1; } }
/* preguntas (muestra y, en 4c, test) */
.mgc-q { padding: 1rem 0; border-top: 1px solid var(--mgc-line); }
.mgc-q-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .3rem; }
.mgc-q-n { font-weight: 600; color: var(--mgc-muted); }
.mgc-q-stem { font-weight: 600; margin-bottom: .6rem; }
.mgc-q-opts { display: grid; gap: .4rem; }
.mgc-opt { text-align: left; font: inherit; background: #fff; border: 1px solid #cfd4c9; border-radius: 8px; padding: .55rem .7rem; cursor: pointer; display: flex; gap: .6rem; }
.mgc-opt:hover:not([disabled]) { border-color: var(--mgc-yellow); background: #fffbe6; }
.mgc-opt[disabled] { cursor: default; color: var(--mgc-ink); }
.mgc-opt-letter { font-weight: 700; color: var(--mgc-muted); min-width: 1rem; }
.mgc-opt.is-correct { border-color: #2e7d32; background: #e8f5e9; }
.mgc-opt.is-wrong { border-color: #c0392b; background: #fdecea; }
.mgc-q-expl { margin-top: .7rem; padding: .6rem .8rem; background: #f6f9ef; border-left: 3px solid var(--mgc-green); border-radius: 4px; font-size: .95rem; }

/* tests (fase 4c): series, intento y resultado */
.mgc-progress { height: 6px; background: rgba(0,0,0,.08); border-radius: 3px; overflow: hidden; margin: .4rem 0; }
.mgc-progress-fill { display: block; height: 100%; background: var(--mgc-green); border-radius: 3px; transition: width .25s; }
.mgc-serie { display: grid; grid-template-columns: 1fr auto auto; gap: .4rem 1rem; align-items: center; padding: .7rem .2rem; border-top: 1px solid var(--mgc-line); }
.mgc-serie.is-done .mgc-serie-title::before { content: "\2713 "; color: var(--mgc-green); }
.mgc-serie-title { font-weight: 600; }
.mgc-serie-mix { display: flex; gap: .25rem; margin-top: .15rem; }
.mgc-serie-mix .mgc-diff { font-size: .78rem; min-width: 1.3rem; }
.mgc-serie-stats { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.mgc-score { font-weight: 700; font-size: 1.15rem; }
.mgc-score.is-good, .mgc-result-score.is-good { color: #2e7d32; }
.mgc-score.is-mid, .mgc-result-score.is-mid { color: #b98a00; }
.mgc-score.is-low, .mgc-result-score.is-low { color: var(--mgc-danger); }
@media (max-width: 560px) { .mgc-serie { grid-template-columns: 1fr auto; } .mgc-serie-act { grid-column: 1 / -1; } .mgc-serie-act .mgc-btn { width: 100%; text-align: center; } }

.mgc-testbar { position: sticky; top: 0; z-index: 5; background: var(--mgc-card); border: 1px solid var(--mgc-line); border-radius: 12px; padding: .6rem .9rem; margin-bottom: 1rem; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.mgc-testbar-row { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.mgc-testbar-title { flex: 1 1 200px; }
.mgc-testbar-title a { margin-right: .5rem; text-decoration: none; }
.mgc-testbar-counts { font-weight: 600; display: flex; gap: .7rem; align-items: baseline; }
.mgc-tb-ok { color: #2e7d32; } .mgc-tb-ko { color: var(--mgc-danger); }
.mgc-chips { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .3rem; }
.mgc-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 1.7rem; height: 1.7rem; padding: 0 .3rem; border-radius: 6px; font-size: .8rem; font-weight: 600;
            text-decoration: none; color: var(--mgc-muted); background: #f3f4ef; border: 1px solid transparent; }
.mgc-chip.is-ok { background: #e8f5e9; color: #2e7d32; }
.mgc-chip.is-ko { background: #fdecea; color: var(--mgc-danger); }
.mgc-chip.is-flag { border-color: var(--mgc-yellow); }
.mgc-finish-confirm { margin-top: .5rem; padding: .6rem .8rem; background: #fff8e1; border: 1px solid #f2dd9a; border-radius: 8px; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .92rem; }
.mgc-finish-confirm span { flex: 1 1 260px; }
.mgc-q-sec { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mgc-flag { margin-left: auto; background: transparent; border: 1px solid var(--mgc-line); border-radius: 6px; color: var(--mgc-muted); cursor: pointer; font: inherit; line-height: 1; padding: .15rem .45rem; }
.mgc-flag.is-on { color: #222; background: var(--mgc-yellow); border-color: var(--mgc-yellow); }
span.mgc-flag { cursor: default; }
.mgc-q.is-busy .mgc-opt { opacity: .6; }
.mgc-q-err { margin-top: .5rem; color: var(--mgc-danger); font-size: .9rem; }
.mgc-q-end { padding-top: 1rem; border-top: 1px solid var(--mgc-line); text-align: center; }
.is-pulse { animation: mgc-pulse 1.2s ease-in-out 3; }
@keyframes mgc-pulse { 50% { transform: scale(1.04); } }
.mgc-tag-blank { background: #f3f4ef; color: var(--mgc-muted); }

.mgc-result-head { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.mgc-result-score { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 130px; padding: 1rem; border-radius: 12px; background: #fdfcf7; border: 1px solid var(--mgc-line); }
.mgc-result-pct { font-size: 2.6rem; font-weight: 700; line-height: 1; }
.mgc-result-pct small { font-size: 1.2rem; }
.mgc-result-l { font-size: .82rem; color: var(--mgc-muted); margin-top: .3rem; }
.mgc-result-facts { flex: 1 1 260px; }
.mgc-result-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.mgc-bars { list-style: none; padding: 0; margin: 0 0 1rem; }
.mgc-bars li { display: grid; grid-template-columns: auto minmax(120px, 200px) 1fr auto; gap: .6rem; align-items: center; padding: .25rem 0; font-size: .92rem; }
.mgc-bars li:has(.mgc-bars-l-wide) { grid-template-columns: minmax(120px, 260px) 1fr auto; }
.mgc-bars-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mgc-bars-track { height: 8px; background: rgba(0,0,0,.08); border-radius: 4px; overflow: hidden; }
.mgc-bars-fill { display: block; height: 100%; background: var(--mgc-green); }
.mgc-bars-fill.is-partial { background: var(--mgc-yellow); }
.mgc-bars-v { font-variant-numeric: tabular-nums; color: var(--mgc-muted); }
@media (max-width: 560px) { .mgc-bars li { grid-template-columns: auto 1fr auto; } .mgc-bars li:has(.mgc-bars-l-wide) { grid-template-columns: 1fr auto; } .mgc-bars-l:not(.mgc-bars-l-wide) { display: none; } .mgc-bars li:has(.mgc-bars-l-wide) .mgc-bars-track { grid-column: 1 / -1; } }
.mgc-rev-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.mgc-rev-filters { display: flex; gap: .3rem; flex-wrap: wrap; }
.mgc-chip-btn { font: inherit; font-size: .85rem; padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--mgc-line); background: #fff; cursor: pointer; }
.mgc-chip-btn.is-on { background: var(--mgc-yellow); border-color: var(--mgc-yellow); font-weight: 600; }
.mgc-list-main { flex: 1; }
.mgc-list-progress { display: block; max-width: 220px; }
.mgc-list-progress .mgc-progress { margin: .25rem 0 0; height: 4px; }

/* modos de test (MARGARICA.md §12): tarjetas de modo, examen, descartar */
.mgc-modos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.mgc-modo { border: 1px solid var(--mgc-line); border-radius: 10px; padding: .8rem .9rem; display: flex; flex-direction: column; gap: .35rem; background: #fdfcf7; }
.mgc-modo.is-off { opacity: .6; }
.mgc-modo-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.mgc-modo-count { font-size: .8rem; color: var(--mgc-muted); background: #f3f4ef; border-radius: 999px; padding: .05rem .5rem; }
.mgc-modo p { margin: 0; }
.mgc-modo-n, .mgc-modo-range { font-size: .88rem; color: var(--mgc-muted); display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.mgc-modo select, .mgc-modo input[type="number"] { font: inherit; font-size: .9rem; padding: .2rem .35rem; border: 1px solid #cfd4c9; border-radius: 6px; background: #fff; }
.mgc-modo input[type="number"] { width: 4.2rem; }
.mgc-modo-act { margin-top: auto; padding-top: .3rem; display: flex; justify-content: flex-end; }
.mgc-modo-off { font-style: italic; }
.mgc-modo-err { color: var(--mgc-danger); margin: 0; }
.mgc-degree-link { font-weight: 400; margin-left: .5rem; }
.mgc-tag-exam { background: #ede7f6; color: #5e35b1; }
.mgc-tag-ko { background: #fdecea; color: var(--mgc-danger); }
.mgc-result-pass { margin-top: .5rem; margin-left: 0; font-size: .85rem; }
.mgc-tb-timer { font-variant-numeric: tabular-nums; color: #5e35b1; }
.mgc-tb-timer.is-low { color: var(--mgc-danger); animation: mgc-blink 1s steps(2) infinite; }
@keyframes mgc-blink { 50% { opacity: .35; } }
.mgc-chip.is-set { background: #ede7f6; color: #5e35b1; }
.mgc-opt.is-chosen { border-color: #5e35b1; background: #ede7f6; }
.mgc-finish-timeout { background: #fdecea; border-color: #f5b7b1; }
.mgc-abandon { margin-left: .6rem; }
.mgc-abandon-ask { display: inline-flex; align-items: center; gap: .3rem; }
.mgc-q-end .mgc-abandon { display: block; margin: .6rem 0 0; }
/* El atributo hidden gana a cualquier display de clase (.mgc-finish-confirm es flex:
   sin esto la confirmación de terminar se veía SIEMPRE — cazado por captura, no por test). */
[hidden] { display: none !important; }

/* Devolver una compra (fase 5): plegado, sin invitar al clic. */
.mgc-refund { margin: -.1rem 0 .4rem; }
.mgc-refund > summary { cursor: pointer; color: var(--mgc-muted); font-size: .92rem; }
.mgc-refund > summary:hover { color: var(--mgc-ink); }
.mgc-refund p { margin: .4rem 0 .5rem; }
.mgc-refund form { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.mgc-refund input[type=text] { flex: 1 1 14rem; min-width: 0; padding: .4rem .6rem;
                               border: 1px solid var(--mgc-line); border-radius: 8px; font: inherit; }

/* --- Mi progreso: barra dominadas/repaso/sin ver, apartados y evolucion --- */
.mgc-bar { display: flex; height: 8px; background: rgba(0,0,0,.09); border-radius: 4px; overflow: hidden; margin: .45rem 0; }
.mgc-bar-sm { height: 6px; margin: .3rem 0; }
.mgc-bar-ok { background: var(--mgc-green); }
.mgc-bar-rep { background: var(--mgc-yellow); }
.mgc-key { display: inline-block; width: .7rem; height: .7rem; border-radius: 2px; vertical-align: -1px; margin-right: .15rem; }
.mgc-key-ok { background: var(--mgc-green); } .mgc-key-rep { background: var(--mgc-yellow); }
.mgc-key-un { background: rgba(0,0,0,.14); }
.mgc-sec { display: grid; grid-template-columns: 1fr auto auto; gap: .3rem 1rem; align-items: center;
           padding: .7rem .2rem; border-top: 1px solid var(--mgc-line); }
.mgc-sec-title { font-weight: 600; }
.mgc-sec-title a { text-decoration: none; color: var(--mgc-ink); }
.mgc-sec-title a:hover { color: var(--mgc-green); }
.mgc-sec-nums { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.mgc-sec-act { display: flex; gap: .4rem; }
.mgc-spark { width: 100%; max-width: 520px; height: 80px; display: block; }
.mgc-spark-line { fill: none; stroke: var(--mgc-green); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mgc-spark-mid { stroke: rgba(0,0,0,.14); stroke-width: 1; stroke-dasharray: 3 3; }
@media (max-width: 640px) {
    .mgc-sec { grid-template-columns: 1fr auto; }
    .mgc-sec-act { grid-column: 1 / -1; justify-content: flex-end; }
}

/* ---------------------------------------------- valoraciones y avisos (fase 5) */
.mgc-stars { letter-spacing: 1px; white-space: nowrap; }
.mgc-star { color: #d6d0c4; }
.mgc-star.is-on { color: #e0a800; }
.mgc-stars-sm { font-size: .9em; }
.mgc-rating-head { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; font-size: 1.05rem; }
.mgc-opinion { border-top: 1px solid #ece7dc; padding: .7rem 0 .2rem; }
.mgc-opinion-head { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin: 0 0 .25rem; }
.mgc-opinion-text { margin: 0; white-space: pre-line; }

.mgc-rate-form { border-top: 1px solid #ece7dc; margin-top: 1rem; padding-top: .8rem; }
.mgc-rate-form h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.mgc-rate-form textarea { width: 100%; max-width: 46rem; margin: .5rem 0; }
.mgc-rate-stars { display: flex; gap: .35rem; flex-wrap: wrap; }
.mgc-rate-star { display: inline-flex; flex-direction: column; align-items: center; gap: .1rem;
                 cursor: pointer; padding: .3rem .5rem; border: 1px solid #ddd6c8; border-radius: 6px; }
.mgc-rate-star:hover { background: #fdf8ea; }
.mgc-rate-star input { margin: 0; }
.mgc-rate-sym { color: #d6d0c4; font-size: 1.2rem; line-height: 1; }
.mgc-rate-star input:checked ~ .mgc-rate-sym { color: #e0a800; }
.mgc-rate-star input:checked ~ .mgc-rate-n { font-weight: 600; }
.mgc-rate-n { font-size: .75rem; color: #6b6355; }
.mgc-rate-remove { margin-top: .4rem; }
.mgc-rate-nudge { background: #fdf8ea; border: 1px solid #f0e2b4; border-radius: 6px;
                  padding: .6rem .8rem; margin: 0 0 1rem; }

.mgc-report { margin-top: .5rem; }
.mgc-report-open { background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
                   font-size: .82rem; color: #6b6355; text-decoration: underline dotted; }
.mgc-report-open:hover { color: #8a6d00; }
.mgc-report-open.is-sent { color: #5a8f3a; text-decoration: none; cursor: default; }
.mgc-report-box { margin-top: .5rem; padding: .6rem .7rem; background: #faf7f0;
                  border: 1px solid #ece7dc; border-radius: 6px; max-width: 40rem; }
.mgc-report-box label { display: block; margin-bottom: .4rem; }
.mgc-report-box select, .mgc-report-box textarea { width: 100%; max-width: 34rem; }
.mgc-report-actions { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-top: .4rem; }
.mgc-rate-hidden { background: #fdecea; border: 1px solid #f3c9c3; border-radius: 6px;
                   padding: .5rem .7rem; margin: 0 0 .6rem; font-size: .9rem; }
