/* Site detay — belirgin kartlar + net inputlar */

.studio {
    width: 100%;
    max-width: 1180px;
}

.studio-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 24px;
}

.studio-identity { min-width: 0; }

.studio-back {
    display: inline-block;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.studio-back:hover {
    color: var(--accent);
    text-decoration: none;
}

.studio-domain {
    margin: 0 0 6px;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    word-break: break-word;
    color: var(--ink);
}

.studio-sub {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.studio-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.studio-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}

.studio-editor,
.studio-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.studio-side {
    position: sticky;
    top: 20px;
}

/* Kartlar: krem zeminde kaybolmasın diye solid beyaz */
.studio-panel {
    background: #fffdf8;
    border: 1px solid #cfc6b4;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 10px 28px rgba(28, 25, 20, 0.07);
}

.panel-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebe4d6;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.panel-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0b5347;
    background: rgba(15, 107, 92, 0.12);
    border: 1px solid rgba(15, 107, 92, 0.18);
    border-radius: 999px;
    padding: 3px 10px;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
}

.studio .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 16px;
    width: 100%;
}

.studio .field:last-child { margin-bottom: 0; }

.studio .field > span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
}

.studio .field > span small {
    color: var(--muted);
    font-family: var(--mono);
    font-weight: 500;
    font-size: 0.78rem;
    white-space: nowrap;
}

/* Inputlar: net kenarlık + hafif gölge */
.studio .field input[type="text"],
.studio .field input[type="url"],
.studio .field textarea,
.studio .field select {
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    border: 1.5px solid #b9ae9a;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    line-height: 1.45;
    box-shadow: inset 0 1px 2px rgba(28, 25, 20, 0.04);
}

.studio .field textarea {
    min-height: 96px;
    resize: vertical;
    font-family: var(--mono);
    font-size: 0.88rem;
    line-height: 1.55;
}

.studio #field-content {
    min-height: 260px;
}

.studio .field select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6458' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.studio .field input::placeholder,
.studio .field textarea::placeholder {
    color: #9a907f;
}

.studio .field input:hover,
.studio .field textarea:hover,
.studio .field select:hover {
    border-color: #9f937e;
}

.studio .field input:focus,
.studio .field textarea:focus,
.studio .field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 107, 92, 0.16);
}

.seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.seo-grid .field { margin-bottom: 0; }
.seo-grid .field-span { grid-column: 1 / -1; }

/* SERP */
.serp {
    display: block;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #d8d3c8;
    font-family: Arial, Helvetica, sans-serif;
}

.serp-url {
    color: #202124;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 6px;
    word-break: break-all;
}

.serp-title {
    color: #1a0dab;
    font-size: 1.12rem;
    line-height: 1.35;
    margin-bottom: 6px;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.serp-desc {
    color: #4d5156;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Skor */
.score-ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 8px auto 16px;
}

.score-ring svg {
    display: block;
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}

.score-ring .track {
    fill: none;
    stroke: #e6dfd2;
    stroke-width: 9;
}

.score-ring .bar {
    fill: none;
    stroke: var(--accent);
    stroke-width: 9;
    stroke-linecap: round;
    stroke-dasharray: 326.7256;
    stroke-dashoffset: 326.7256;
    transition: stroke-dashoffset 0.45s ease, stroke 0.25s ease;
}

.score-num {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.score-num #score-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ink);
}

.score-num small {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--muted);
    font-family: var(--mono);
}

.score-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.score-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
    font-family: var(--mono);
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid #ddd4c4;
    background: #faf7f0;
    color: var(--muted);
}

.score-list li.ok {
    color: var(--ok);
    border-color: #b7dcc3;
    background: #eef8f1;
}

.score-list li.warn {
    color: #8a5a10;
    border-color: #e2c78f;
    background: #fff8ea;
}

.score-list li.bad {
    color: var(--danger);
    border-color: #e7b6b6;
    background: #fff5f5;
}

.meta-mini {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.meta-mini > div { min-width: 0; }

.meta-mini dt {
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 4px;
}

.meta-mini dd {
    margin: 0;
    word-break: break-all;
    font-size: 0.88rem;
    color: var(--ink);
}

@media (max-width: 1080px) {
    .studio-grid { grid-template-columns: 1fr; }
    .studio-side { position: static; }
}

@media (max-width: 960px) {
    .studio-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .seo-grid { grid-template-columns: 1fr; }
}
