.aoco-psi {
    max-width: 760px;
    margin: 40px auto;
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.aoco-psi input {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-bottom: 16px;
}

.aoco-psi button {
    width: 100%;
    padding: 16px;
    background: #1a73e8;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.psi-score-wrap {
    text-align: center;
    margin-top: 32px;
}

.psi-score-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: bold;
    color: #fff;
}

.score-good { background: #0cce6b; }
.score-mid  { background: #ffa400; }
.score-bad  { background: #ff4e42; }

.psi-score-label {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

.psi-metrics {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
    margin-top: 32px;
}

.psi-metric {
    padding: 20px;
    border-radius: 12px;
    background: #f8f9fa;
    text-align: center;
}

.psi-metric .label {
    font-size: 14px;
    color: #666;
}

.psi-metric .value {
    font-size: 20px;
    margin-top: 6px;
}

.psi-ec-advice {
    margin-top: 32px;
    padding: 24px;
    background: #f1f8ff;
    border-left: 6px solid #1a73e8;
}

.psi-cta {
    margin-top: 32px;
    text-align: center;
}

.psi-cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: #1a73e8;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
}

/* 全画面ローディング */
#psi-fullscreen-loading {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.9);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 9999;
}

#psi-fullscreen-loading.active {
    display: flex;
}