/* What the site's pages and the register share (REFACTOR_PLAN.md step 110: these rules stood the same in home.css and
   register.css). Loaded before site.css or register.css; the colours and the type are lectio.css's. */
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{height:100%}
a{color:var(--accent)}
header{border-bottom:1px solid var(--rule);background:var(--bg);flex:none}
.brand:hover{background:var(--hover)}
.brand b{font-size:22px;font-weight:600;white-space:nowrap;letter-spacing:-.01em}
.icon{border:1px solid var(--rule);background:var(--paper);border-radius:8px;padding:7px 10px;cursor:pointer;font:13px var(--sans)}
/* the light/dark switch: the half-filled circle centred in a button as tall as the others */
.icon#theme{display:inline-flex;align-items:center;justify-content:center;padding:7px 9px}
.icon#theme svg{display:block}
nav.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:0 16px 10px;font:13px var(--sans);color:var(--muted)}
nav.crumbs a{color:var(--ink);text-decoration:none;padding:3px 6px;border-radius:5px;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
nav.crumbs a:hover{background:var(--hover)}
nav.crumbs a:last-child{font-weight:600}
nav.crumbs .sep{opacity:.6}
.col-h .lbl{font:600 11px var(--sans);text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.col-h .ttl{font-size:18px;font-weight:600;line-height:1.2;margin-top:2px}
/* choices of one */
.seg{display:flex;border:1px solid var(--rule);border-radius:7px;overflow:hidden;background:var(--paper)}
.seg a:hover,.seg button:hover{background:var(--hover)}
.it.all .l{font-style:italic}
.it.all{border-bottom:1px solid var(--rule)}
.it{display:flex;gap:8px;align-items:baseline;padding:6px 14px;text-decoration:none;color:var(--ink);border-left:3px solid transparent}
.it:hover{background:var(--hover)}
.it.on{background:var(--accentbg);border-left-color:var(--accent)}
.it .s{display:block;font:12px var(--sans);color:var(--muted);margin-top:1px}
.it .chev{font:13px var(--sans);color:var(--muted)}
.hint{font:13px var(--sans);color:var(--muted);padding:6px 14px 2px}
.back{display:none}
.rcard .tp.none{background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b0a690'%3E%3Crect x='3' y='1.5' width='10' height='13' rx='1'/%3E%3Cpath d='M5.5 5h5M5.5 7.5h5M5.5 10h3'/%3E%3C/svg%3E") center/40% no-repeat}
.rbtn:hover{filter:brightness(1.1)}
.it:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
