:root{color-scheme:only light}
dialog{color:#202020;background-color:#fff8e7}
input[type=checkbox],input[type=radio]{accent-color:#294e53}
select.picker-source{position:absolute!important;clip-path:inset(50%);width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden;pointer-events:none}
button.notebook-select{display:inline-flex;align-items:center;justify-content:space-between;gap:1em;border:1.5px solid #56534c;border-radius:5px;background:#fff8e7;color:#202020;text-align:start;min-height:44px;padding:6px 12px;font:inherit;box-shadow:none;text-transform:none}
button.notebook-select::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}
button.notebook-select:disabled{opacity:1;color:#615d55}
dialog.notebook-picker{box-sizing:border-box;width:min(92vw,360px);max-height:85vh;overflow:auto;margin:auto;padding:18px 20px;border:2px solid #555249;border-radius:8px;color:#202020;background:#fff8e7;text-align:start;font:16px/1.4 system-ui,sans-serif;box-shadow:0 8px 32px #352c2652}
dialog.notebook-picker::backdrop{background:#1d211dc2}
.notebook-picker h2{color:#202020;font:700 24px/1.2 Kalam,system-ui,sans-serif;margin:0 0 12px}
dialog.notebook-picker label{display:flex;align-items:center;justify-content:start;gap:12px;min-height:44px;margin:2px 0;padding:6px 10px;box-sizing:border-box;border-radius:4px;color:#202020;background:#fff8e7;font:inherit}
dialog.notebook-picker label:has(:checked){background:#dce9dd}
dialog.notebook-picker label:has(:disabled){color:#615d55}
dialog.notebook-picker input[type=radio]{appearance:none;flex:none;width:19px;height:19px;min-height:0;margin:0;padding:0;border-radius:50%;border:2px solid #55544e;background:#fff8e7}
dialog.notebook-picker input[type=radio]:checked{border-color:#294e53;background:radial-gradient(circle,#294e53 0 45%,#fff8e7 48%)}
dialog.notebook-picker footer{display:flex;justify-content:end;gap:8px;margin:12px 0 0}
dialog.notebook-picker footer button{min-height:42px;border:1px solid #56534c;color:#202020;background:#fff8e7;font:inherit;padding:6px 14px}
dialog.notebook-picker footer button:last-child{background:#294e53;color:white}
button.notebook-select:focus-visible,.notebook-picker :focus-visible{outline:3px solid #245a79;outline-offset:2px}
@media(forced-colors:active){dialog.notebook-picker input[type=radio]{appearance:auto}}

select option,select optgroup{color:#202020;background:#fff8e7}dialog button:disabled,select option:disabled{opacity:1;color:#615d55;background:#fff8e7}
