* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: #f5f5f5; color: #222; line-height: 1.5; }
a { color: #0645ad; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 16px; }
.site-header h1 { margin: 0 0 16px; font-size: 28px; color: maroon; }
/* =========================================================
   Сетка
   ========================================================= */
.layout { display: grid; grid-template-columns: 120px 1fr; gap: 20px; }

.sidebar {
    background: #ffbf00;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    word-break: break-word;
}
.sidebar h3 { margin: 6px 0; font-size: 13px; }
.sidebar ul { list-style: none; padding-left: 0; margin: 4px 0 12px; }
.sidebar li { margin: 2px 0; }
.sidebar .menu { list-style: none; padding-left: 0; margin: 4px 0 12px; }
.sidebar .menu li { margin: 2px 0; }
.sidebar .admin-link { margin-top: 8px; display: inline-block; }
.sidebar .muted { color: #666; }

.content { background: #fff; padding: 20px; border-radius: 6px; min-height: 400px; }

/* =========================================================
   Кнопки
   ========================================================= */
.btn {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #0645ad;
    text-decoration: none;
}
.btn:hover { background: #eee; text-decoration: none; }

/* =========================================================
   Доклад — свёрнутый вид, раскрывается по клику
   ========================================================= */
.talks { margin-top: 16px; }

.talk {
    border-left: 3px solid #ffa500;
    background: #fffdf7;
    margin: 8px 0;
    border-radius: 0 4px 4px 0;
    overflow: hidden;
}

.talk-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    user-select: none;
    transition: background .15s;
}
.talk-header:hover { background: #fff7e0; }

.talk-date {
    font-weight: bold;
    color: #a00;
    flex-shrink: 0;
    min-width: 82px;
    font-size: 14px;
}
.talk-date a { color: #a00; text-decoration: underline; }

.talk-title {
    flex: 1;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
}

.talk-toggle {
    flex-shrink: 0;
    color: #888;
    transition: transform .2s;
    font-size: 12px;
    align-self: center;
}
.talk.expanded .talk-toggle { transform: rotate(90deg); }

.talk-body {
    display: none;
    padding: 4px 14px 12px 14px;
    border-top: 1px dashed #f0e0b0;
}
.talk.expanded .talk-body { display: block; }

.talk-body p { margin: 6px 0; }
.talk .abstract { color: #555; font-size: 14px; }

.talk-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.attend-btn { background: #eef6ff; }