.handbook-add{border:2px dashed #c6c6c6;justify-items:center;align-content:center;background:#ededed;text-align:center;color:#3d3d3d}.handbook-add>span{font-size:3rem;line-height:1}.handbook-reading{max-width:960px;margin:2rem auto;color:#111111;line-height:1.85;font-size:1rem}.handbook-reading p{margin:.9rem 0 1.3rem}.handbook-reading h3,.handbook-reading h4,.handbook-reading h5{margin:1.8rem 0 .7rem;line-height:1.4;color:#3d3d3d}.handbook-reading .handbook-bullet{padding-left:1.2rem;margin:.5rem 0}.handbook-reading figure{margin:1.5rem 0;padding:1rem;background:#fff;border:1px solid #ededed;border-radius:10px}.handbook-reading figure img{display:block;max-width:100%;max-height:900px;object-fit:contain;margin:auto}.handbook-reading figcaption{font-size:.8rem;color:#626262;margin-top:.7rem}.handbook-reading table{width:100%;border-collapse:collapse;font-size:.9rem}.handbook-reading th,.handbook-reading td{padding:.75rem;border:1px solid #ededed;text-align:left;vertical-align:top}.handbook-reading th{background:#ededed}.handbook-footer{border-top:1px solid #ededed;padding-top:1rem;color:#626262;font-size:.85rem;margin-top:2rem}.handbook-editor{width:min(1100px,96vw);max-height:94vh;border:1px solid #c6c6c6;border-radius:18px;padding:2rem;color:#111111;background:#fffdf9}.handbook-editor::backdrop{background:#111111a8}.handbook-editor form{display:grid;gap:1rem}.handbook-editor h2{margin:0 0 1rem}.handbook-editor label{display:grid;gap:.45rem;font-weight:650;font-size:.85rem}.handbook-form-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:1rem}.handbook-form-grid label:last-child:nth-child(4){grid-column:1/-1}.handbook-editor input,.handbook-editor select,.handbook-editor textarea{width:100%;padding:.7rem;border:1px solid #c6c6c6;border-radius:8px;font:inherit;background:white;color:#111111}.handbook-editor textarea{font-family:inherit;line-height:1.7;min-height:280px;resize:vertical}.handbook-editor button{font:inherit;border:1px solid #c6c6c6;border-radius:8px;padding:.6rem .9rem;cursor:pointer;color:#3d3d3d;background:white}.handbook-editor button.primary{background:#3d3d3d;color:white}.handbook-icons{display:flex;flex-wrap:wrap;gap:.5rem;border:1px solid #ededed;border-radius:9px;padding:1rem}.handbook-icons legend{font-size:.85rem;font-weight:650}.handbook-icons button{width:44px;height:44px;padding:8px}.handbook-icons button[aria-pressed=true]{background:#3d3d3d;color:white;border-color:#3d3d3d}.handbook-icons svg{width:100%;height:100%}.handbook-editor [hidden]{display:none!important}.handbook-editor [role=alert]{color:#a33224}.handbook-rubric-list>div,.handbook-archive-row{display:flex;gap:1rem;align-items:center;border-bottom:1px solid #ededed;padding:.8rem 0}.handbook-rubric-list strong,.handbook-archive-row span{margin-right:auto}.organization-rubric h3{flex-wrap:wrap}.organization-rubric h3 button{font-size:.75rem;padding:.4rem .6rem}.handbook-format{gap:.5rem;flex-wrap:wrap}.handbook-editor .handbook-reading{width:100%;padding:1rem;border:1px solid #ededed;border-radius:10px;margin:0}.handbook-editor .button-row{display:flex;gap:.6rem;flex-wrap:wrap}
@media(max-width:700px){.handbook-editor{padding:1rem}.handbook-form-grid{grid-template-columns:1fr 1fr}.handbook-form-grid label:first-child{grid-column:1/-1}.handbook-rubric-list>div{flex-wrap:wrap}.organization-detail-head{flex-wrap:wrap}.handbook-reading{font-size:.95rem}}

/* Override the application's narrow default dialog, including its max-width. */
dialog.handbook-editor{width:min(1000px,calc(100vw - 3rem));max-width:calc(100vw - 3rem);max-height:94dvh;overflow:auto}
dialog.handbook-document-editor{width:min(1540px,calc(100vw - 3rem));padding:1.5rem 2rem}
.handbook-document-editor .handbook-form-grid{grid-template-columns:1.2fr 2.2fr .6fr .6fr}
.handbook-document-editor .handbook-form-grid label:last-child:nth-child(4){grid-column:auto;grid-row:1;grid-column:2;min-width:0}
.handbook-document-editor .handbook-form-grid label:nth-child(2){grid-column:3;grid-row:1}
.handbook-document-editor .handbook-form-grid label:nth-child(3){grid-column:4;grid-row:1}
.handbook-document-editor textarea{min-height:42vh;line-height:1.65;font-size:1rem;font-weight:400}
.handbook-editor-actions{position:sticky;bottom:-1.5rem;padding:1rem 0;background:#fffdf9;border-top:1px solid #ededed;justify-content:flex-end}
.handbook-icon-picker{border:1px solid #ededed;border-radius:9px;padding:.6rem .9rem}
.handbook-icon-picker summary{display:flex;align-items:center;gap:1rem;cursor:pointer;font-size:.85rem}
.handbook-icon-picker [data-hb-selected-icon]{display:inline-flex;align-items:center;gap:.5rem;color:#3d3d3d}
.handbook-icon-picker summary svg{width:24px;height:24px}
.handbook-icon-picker .handbook-icons{border:0;margin:0;padding:1rem 0 .3rem}
.handbook-format{justify-content:flex-start!important}
.handbook-category-control{display:flex;border:1px solid #ededed;border-radius:10px;overflow:hidden;background:#ededed}
.organization-categories .handbook-category-control>button{border:0;border-radius:0}
.organization-categories .handbook-category-edit{padding:.6rem;border-left:1px solid #ededed;font-size:1.15rem}
.organization-categories .handbook-category-add{border:2px dashed #626262;font-weight:750;background:#ededed}
.handbook-category-add>span{font-size:1.8rem;line-height:1}
.organization-tile{position:relative;cursor:default;grid-template-columns:52px 1fr;row-gap:.75rem}
.organization-tile-label{padding-right:4rem}
.handbook-tile-actions{position:absolute;top:.7rem;right:.65rem;display:flex;gap:.25rem}
.handbook-tile-actions button{display:grid;place-items:center;width:29px;height:29px;border:1px solid #ededed;background:#ededed;color:#3d3d3d;border-radius:6px;font:inherit;font-size:1.05rem;cursor:pointer}
.handbook-tile-actions button:last-child{color:#a34232;background:#fff4ee}
.handbook-tile-title{border:0;background:none;color:inherit;font:inherit;font-weight:750;line-height:1.4;text-align:left;padding:0;cursor:pointer}
button.organization-open{border:0;background:none;padding:0;text-align:left;font-family:inherit;cursor:pointer}
.handbook-reading{max-width:1000px;line-height:1.7;margin:1.8rem auto;font-size:1rem}
.handbook-reading p{margin:.65rem 0 1rem}
.handbook-reading>h3,.handbook-reading>h4,.handbook-reading>h5{font-size:1.1rem;margin:1.5rem 0 .65rem;padding-bottom:.4rem;border-bottom:1px solid #ededed}
.handbook-reading>p:first-child{font-size:1.05rem}
.handbook-reading .handbook-bullet{margin:.35rem 0;line-height:1.6}
.handbook-reading ul,.handbook-reading ol{margin:.75rem 0 1.25rem;padding-left:1.6rem}
.handbook-reading li{margin:.4rem 0;padding-left:.2rem}
.handbook-reading table{white-space:normal}
.handbook-topic-nav{display:flex;justify-content:space-between;gap:1.5rem;margin-top:2rem;padding-top:1.25rem;border-top:1px solid #ededed}
.handbook-topic-nav>button{max-width:46%;display:grid;gap:.4rem;border:0;background:none;color:#3d3d3d;padding:.5rem 0;text-align:left;cursor:pointer;font:inherit}
.handbook-topic-nav>button small{font-size:.75rem;color:#626262}
.handbook-topic-nav>button strong{font-size:.95rem;line-height:1.45}
.handbook-topic-nav .handbook-next{text-align:right;margin-left:auto}
.handbook-footer{margin-top:1rem}
@media(max-width:800px){dialog.handbook-editor{width:calc(100vw - 1rem);max-width:calc(100vw - 1rem);padding:1rem}.handbook-document-editor .handbook-form-grid{grid-template-columns:1fr 1fr}.handbook-document-editor .handbook-form-grid label:first-child,.handbook-document-editor .handbook-form-grid label:last-child:nth-child(4){grid-column:1/-1;grid-row:auto}.handbook-document-editor .handbook-form-grid label:nth-child(2),.handbook-document-editor .handbook-form-grid label:nth-child(3){grid-column:auto;grid-row:auto}.handbook-editor-actions{bottom:-1rem}.handbook-topic-nav{gap:.7rem}.handbook-topic-nav>button{max-width:48%}}
@media print{.handbook-topic-nav,.handbook-tile-actions{display:none!important}}
.hb-overwrite-warning{padding:10px 12px;border:1px solid #b23216;border-left-width:4px;background:#fff2e9;color:#83230f;font-size:13px;font-weight:700}.hb-overwrite-warning[hidden]{display:none}
