body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: #fafafa;
    color: #222;
}

.site-header {
    background: #333;
    color: #fff;
    padding: 10px 20px 14px;
}

.site-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.site-tab {
    background: #444;
    color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    border-radius: 4px 4px 0 0;
}

.site-tab.active {
    background: #0066cc;
}

.site-header h1 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: normal;
}

.site-subtitle {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
}

#timeline {
    min-height: 400px;
}

.suggest-panel {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    padding: 14px 16px 16px;
    z-index: 1000;
}

.suggest-panel[hidden] {
    display: none !important;
}

.suggest-close {
    float: right;
    border: none;
    background: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.suggest-panel h2 {
    margin: 0 0 8px;
    font-size: 17px;
}

.suggest-context {
    font-size: 13px;
    color: #555;
    margin: 0 0 10px;
}

.suggest-panel label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.suggest-panel input,
.suggest-panel textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
    font: 13px Arial, sans-serif;
    padding: 6px 8px;
}

.optional {
    font-weight: normal;
    color: #888;
}

.suggest-actions {
    margin-top: 4px;
}

.suggest-actions button {
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
}

.suggest-actions button:hover {
    background: #0052a3;
}

.suggest-status {
    min-height: 1.2em;
    font-size: 12px;
    margin: 8px 0 0;
}

.suggest-status.ok { color: #060; }
.suggest-status.err { color: #900; }

.suggest-edit-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 10px;
    font-size: 12px;
    background: #eee;
    border: 1px solid #bbb;
    border-radius: 4px;
    cursor: pointer;
}

.suggest-edit-btn:hover {
    background: #e0e0e0;
}
