/* Article review — compact inline layout with stars + result */

.article-review {
    margin-top: 8px;
    padding: 6px 0 0;
    border-top: 1px solid #dde2ef;
}

.article-review-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 6px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.article-review-label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a3e7a;
}

.article-review-sep {
    font-family: var(--font-body);
    font-size: 0.68rem;
    color: #9aa3b5;
}

.article-review-toggle {
    padding: 0;
    border: none;
    background: none;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    color: #1a3e7a;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-review-toggle:hover {
    color: var(--gold);
}

.article-review-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.article-review-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    flex-shrink: 0;
}

.article-review-star {
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    color: #c5cad4;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease;
}

.article-review-star:hover,
.article-review-star.is-hover,
.article-review-star.is-selected {
    color: #c9a227;
}

.article-review-summary {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: #8b95a8;
    line-height: 1.3;
}

.article-review-summary strong {
    color: #1a3e7a;
    font-weight: 600;
}

.article-review-compose {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
    align-items: end;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.article-review-compose.is-open {
    max-height: 120px;
    opacity: 1;
    margin-top: 8px;
}

.article-review-input {
    width: 100%;
    min-height: 32px;
    max-height: 72px;
    padding: 6px 8px;
    border: 1px solid #c5ccd8;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.35;
    color: #222;
    resize: vertical;
}

.article-review-compose.is-open .article-review-input {
    min-height: 52px;
}

.article-review-input:focus {
    outline: none;
    border-color: #1a3e7a;
}

.article-review-send {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #1a3e7a;
    color: #fff;
    cursor: pointer;
}

.article-review-send:hover:not(:disabled) {
    background: #0f2a5c;
}

.article-review-send:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.article-review-send svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.article-review-message {
    margin: 6px 0 0;
    font-family: var(--font-body);
    font-size: 0.72rem;
    line-height: 1.3;
    color: #1a3e7a;
}

.article-review-message.is-error {
    color: #b42318;
}

.article-review-message.is-success {
    color: #0d6b4d;
}

.article-review-recent {
    margin-top: 8px;
    padding: 0;
    list-style: none;
}

.article-review-recent li {
    padding: 5px 0;
    border-bottom: 1px solid #eef1f6;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #444;
    line-height: 1.35;
}

.article-review-recent li:last-child {
    border-bottom: none;
}
