/* Lector: colours, fonts and sizes only from the kit tokens (--bk-*, _content/Bedko.Web/bedko.css) */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bk-page); color: var(--bk-ink); font-family: var(--bk-font-ui); font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
a { color: var(--bk-blue); }
main { max-width: 960px; margin: 0 auto; padding: 8px 16px 64px; }

/* top bar: wordmark left, sections and the avatar menu right */
nav { display: flex; align-items: center; gap: 18px; background: var(--bk-page); border-bottom: 1px solid var(--bk-line); padding: 10px 16px; font-size: 15px; }
nav .brand { color: var(--bk-ink); font-weight: 600; letter-spacing: -0.01em; margin-right: auto; text-decoration: none; }
nav .tab { display: flex; align-items: center; gap: 6px; color: var(--bk-soft); text-decoration: none; min-height: var(--bk-touch); }
nav .tab.active { color: var(--bk-ink); }
.navmore { position: relative; }
.navmore summary { list-style: none; cursor: pointer; }
.navmore summary::-webkit-details-marker { display: none; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bk-raised); color: var(--bk-ink); font-weight: 600; font-size: 14px; }
.navmore-menu { position: absolute; right: 0; top: 100%; z-index: 10; display: flex; flex-direction: column; gap: 4px; min-width: 200px; padding: 10px 12px; background: var(--bk-surface); border: 1px solid var(--bk-line); border-radius: var(--bk-radius-card); }
.navmore-who { color: var(--bk-faint); font-size: 13px; padding-bottom: 4px; }
button.link { background: none; border: 0; padding: 6px 0; color: var(--bk-soft); font: inherit; cursor: pointer; text-align: left; }
button.link:hover { color: var(--bk-ink); }

.notice { background: var(--bk-surface); border-left: 3px solid var(--bk-amber); padding: 8px 12px; border-radius: var(--bk-radius); }
.page-title { font-size: 20px; font-weight: 600; margin: 16px 0 12px; }
.empty { color: var(--bk-faint); }

/* library */
.doclist { list-style: none; margin: 0; padding: 0; }
.bk-row { display: flex; align-items: center; gap: 12px; min-height: var(--bk-touch); padding: 8px 12px; border-bottom: 1px solid var(--bk-line); }
.bk-row:hover { background: var(--bk-raised-hover); }
.doc-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-when { color: var(--bk-faint); font-size: 13px; white-space: nowrap; }

.errorpage h1 { font-size: 40px; margin: 24px 0 8px; }
