/* INKLYDT reading surfaces R12: warm paper, ink, restrained brass. */
:root{
  --ink-paper:#fbf9f5;
  --ink-paper-deep:#f4f1e8;
  --ink-paper-soft:#fffdf8;
  --ink-ink:#294336;
  --ink-ink-soft:#51654f;
  --ink-muted:#788174;
  --ink-rule:#d7dacf;
  --ink-rule-strong:#c4cbbb;
  --ink-brass:#9b854e;
  --ink-brass-soft:#eee7cf;
  --ink-green:#294b3a;
  --ink-audit:#7b443c;
  --ink-shadow:0 18px 48px rgba(34,52,39,.12);
}

body #chapterDrawer{
  z-index:12990!important;
  top:58px!important;
  left:0!important;
  width:min(352px,90vw)!important;
  background:var(--ink-paper)!important;
  border-right:1px solid var(--ink-rule)!important;
  box-shadow:10px 0 36px rgba(44,57,34,.12)!important;
  color:var(--ink-ink)!important;
}

body #drawerScrim{
  z-index:12980!important;
  inset:58px 0 0!important;
  background:rgba(31,43,34,.22)!important;
}
body:not(.chapters-open) #drawerScrim{pointer-events:none!important}
body.chapters-open #drawerScrim{pointer-events:auto!important}
body #chapterDrawer .drawer-head{
  padding:22px 22px 18px!important;
  background:var(--ink-paper)!important;
  border-bottom:1px solid var(--ink-rule)!important;
}
body #chapterDrawer .drawer-head strong{
  margin-top:5px!important;
  color:var(--ink-ink)!important;
  font:400 23px/1.25 Georgia,"Times New Roman",serif!important;
}
body #chapterDrawer .micro{
  color:#6c7668!important;
  font:700 9px/1.3 system-ui,sans-serif!important;
  letter-spacing:.11em!important;
}
body #chapterDrawer #closeChapters{
  width:auto!important;
  min-width:58px!important;
  height:34px!important;
  padding:0 11px!important;
  border:1px solid var(--ink-rule-strong)!important;
  border-radius:7px!important;
  background:transparent!important;
  color:var(--ink-ink)!important;
  font:600 11px/1 system-ui,sans-serif!important;
}
body #chapterDrawer #closeChapters::before{content:"Close";font-size:11px}
body #chapterDrawer #closeChapters{font-size:0!important}
body #chapterDrawer .chapter-list{
  padding:6px 16px 18px!important;
  background:var(--ink-paper)!important;
}
body #chapterDrawer .chapter-item{
  min-height:62px!important;
  padding:15px 9px!important;
  border:0!important;
  border-bottom:1px solid #e2e3d9!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--ink-ink)!important;
}
body #chapterDrawer .chapter-item strong{
  color:var(--ink-ink)!important;
  font:400 16px/1.35 Georgia,"Times New Roman",serif!important;
}
body #chapterDrawer .chapter-item small{
  margin-top:4px!important;
  color:#737d70!important;
  font:11px/1.4 system-ui,sans-serif!important;
  letter-spacing:0!important;
}
body #chapterDrawer .chapter-item .n,
body #chapterDrawer .chapter-item .reviewed{
  color:var(--ink-brass)!important;
  font:700 10px/1.2 system-ui,sans-serif!important;
}
body #chapterDrawer .chapter-item:hover{background:#f1f1e8!important}
body #chapterDrawer .chapter-item.active{
  background:#ecefe5!important;
  box-shadow:inset 2px 0 var(--ink-brass)!important;
}
body #chapterDrawer .ecr-release-revision-entry{
  border-left:2px solid var(--ink-brass)!important;
  padding-left:12px!important;
}
body #chapterDrawer button:focus-visible{
  outline:2px solid var(--ink-brass)!important;
  outline-offset:2px!important;
}

/* Sticky tabs are quiet physical-book cues, not a second toolbar. */
body #selectionComposer .annotation-details{
  margin:5px 0 15px;
  padding-top:10px;
  border-top:1px solid var(--ink-rule);
  color:var(--ink-ink-soft);
  font:12px/1.45 system-ui,sans-serif;
}
body #selectionComposer .annotation-details summary{cursor:pointer;padding:5px 0;display:list-item}
body #selectionComposer .annotation-details summary span{margin-left:8px;color:#899285;font-size:11px}
body #selectionComposer .annotation-details .form-row{margin-top:12px!important}
body #selectionComposer .annotation-tab-choices{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin:8px 0 13px;
}
body #selectionComposer .annotation-tab-choices button{
  min-height:36px;
  padding:8px 5px;
  border:1px solid #d8d4bc;
  border-left:3px solid #b09b54;
  border-radius:5px;
  background:#f7f3df;
  color:#4d563e;
  font:600 11px/1.25 system-ui,sans-serif;
}
body #selectionComposer .annotation-tab-choices button[aria-pressed="true"]{
  border-color:#aa995a;
  background:#eee8c8;
  color:#31472e;
}

body #marksPanel .marks-v2-record,
body #marksPanel .marks-v2-passage,
body #marksPanel .marks-v2-response{
  background:var(--ink-paper)!important;
  border-color:var(--ink-rule)!important;
  box-shadow:none!important;
  color:var(--ink-ink)!important;
}
body #marksPanel .marks-v2-record header strong{
  color:var(--ink-ink)!important;
  font:400 22px/1.4 Georgia,"Times New Roman",serif!important;
}
body #marksPanel .marks-v2-passage blockquote{
  padding-left:16px!important;
  border-left:2px solid #b5a36e!important;
  color:var(--ink-ink)!important;
  font:17px/1.65 Georgia,"Times New Roman",serif!important;
}
body #marksPanel .marks-v2-response p{
  color:#3b4e3e!important;
  font:15px/1.65 system-ui,sans-serif!important;
}

@media(max-width:820px){
  body #chapterDrawer{top:58px!important;width:100vw!important;max-width:100vw!important}
  body #chapterDrawer .drawer-head{padding-inline:16px!important}
  body #chapterDrawer .chapter-list{padding-inline:12px!important}
}
