/* ===== Settings ===== */
:root { --st-green: #1b7a43; --st-red: #d32f2f; }

.st-page { max-width: 900px; }

.st-card { background: #fff; border: 1px solid var(--border, #d9dee5); border-radius: 12px; padding: 20px; margin-bottom: 18px; }
.st-card h3 { margin: 0 0 4px; font-size: 18px; }
.st-hint { margin: 0 0 14px; font-size: 13px; color: var(--muted, #6b7785); }
.st-warn { margin: 12px 0 0; font-size: 13px; color: var(--st-red); }

.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.st-grid > div { min-width: 0; }
.st-card label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.st-card input[type="text"], .st-card input[type="tel"], .st-card select {
    width: 100%; box-sizing: border-box; border: 1px solid var(--border, #d9dee5);
    border-radius: 8px; padding: 11px 12px; font-size: 15px; font-family: inherit;
    background: #fff; min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none;
}
.st-card select { background-image: linear-gradient(45deg, transparent 50%, #6b7785 50%), linear-gradient(135deg, #6b7785 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }

.st-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.st-btn { border: 1px solid var(--border, #d9dee5); background: #fff; color: var(--text, #1f2933); border-radius: 8px; padding: 11px 18px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.st-btn-green { background: var(--st-green); border-color: var(--st-green); color: #fff; }
.st-btn-light { background: #f4f6f8; }

.st-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.st-stat { border: 1px solid #eef1f4; background: #f6f8fa; border-radius: 10px; padding: 12px; }
.st-stat strong { display: block; font-size: 20px; }
.st-stat span { font-size: 12px; color: var(--muted, #6b7785); }

.st-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1f2933; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 14px; z-index: 3000; max-width: 90vw; }
.st-toast[hidden] { display: none; }

@media (max-width: 700px) {
    .st-grid { grid-template-columns: 1fr; }
    .st-summary { grid-template-columns: 1fr 1fr; }
    .st-actions .st-btn { flex: 1 1 100%; }
}
/* ===== Website section ===== */
.st-card input[type="url"], .st-card input[type="search"], .st-card input:not([type]) {
    width: 100%; padding: 11px 12px; font-size: 14px; font-family: inherit;
    border: 1px solid var(--border, #d9dee5); border-radius: 8px; background: #fff; box-sizing: border-box;
}
.st-card input[type="url"]:focus, .st-card input[type="search"]:focus { outline: 2px solid var(--st-green); border-color: transparent; }
.st-sub { margin: 22px 0 4px; padding-top: 16px; border-top: 1px solid var(--border, #d9dee5); font-size: 16px; }
.st-img-row { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.st-card input[type="file"] { font-size: 13px; max-width: 100%; }
.st-card input[type="file"]::file-selector-button {
    margin-right: 10px; padding: 8px 14px; font-size: 13px; font-weight: 600; font-family: inherit;
    border: 1px solid var(--border, #d9dee5); border-radius: 8px; background: #f4f6f8; cursor: pointer;
}
.st-banner { background: #fafbfa; padding: 14px !important; margin-bottom: 14px !important; border-radius: 12px !important; }
.st-banner > strong { display: inline-block; margin-bottom: 10px; font-size: 15px; color: var(--st-green); }
.st-banner .st-btn { width: 100%; }
#web-list label { font-weight: 500; font-size: 14px; margin: 0; }
#web-list label:hover { background: #f4f8f5; }
#web-list input[type="checkbox"], .st-card input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--st-green); }
.st-card input[type="number"] {
    width: 100%; padding: 11px 12px; font-size: 15px; font-family: inherit;
    border: 1px solid var(--border, #d9dee5); border-radius: 8px; background: #fff; box-sizing: border-box;
}
.st-card input[type="number"]:focus { outline: 2px solid var(--st-green); border-color: transparent; }
