.filmstrip{flex-wrap:wrap;row-gap:10px}.chapter-nav{flex:0 0 100%;display:flex;align-items:center;gap:22px;padding-bottom:9px;min-width:0}.chapter-nav-label{font-size:12px;color:#718078;flex:0 0 90px}.chapter-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;min-width:0;flex:1;padding:3px}.chapter-tab{flex-shrink:0;border:0;border-radius:5px;background:transparent;color:#607169;padding:7px 15px;font-size:14px}.chapter-tab.active{background:#dceee5;color:#174e3c;font-weight:650}.chapter-tab:hover{background:#e9f2ed}.chapter-select-label{display:none}.viewer.has-chapters{padding-bottom:196px}.chapter-editor{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;margin-bottom:28px}.chapter-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.chapter-editor h2{font-size:19px;margin:0 0 8px}.chapter-editor-heading p{font-size:13px;margin:0}.chapter-rows{display:flex;flex-direction:column;gap:10px;margin-top:18px}.chapter-row{display:grid;grid-template-columns:36px minmax(100px,1fr) minmax(180px,1.4fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid #e5ebe7;border-radius:7px;background:#f9fbfa}.chapter-row-number{font-size:13px;color:#6b7e73;text-align:center}.chapter-field{display:flex;flex-direction:column;gap:5px;min-width:0}.chapter-field>span{font-size:12px;color:#687b70}.chapter-field input,.chapter-field select{width:100%;min-width:0;font:inherit;font-size:14px;border:1px solid #cbd8d0;border-radius:5px;padding:9px 10px;background:#fff;color:#263e32}.chapter-field select,.chapter-select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#6b8074 50%),linear-gradient(135deg,#6b8074 50%,transparent 50%);background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:30px}.chapter-row-note{grid-column:2 / -1;color:#718277;font-size:12px}.chapter-row-note.warning{color:#a65421}.chapter-remove{align-self:center;margin-top:18px}.chapter-empty{font-size:14px;color:#7b8781;margin:0}.chapter-add:disabled{cursor:default}.chapter-card-label{font-size:12px;background:#e4f1e9;color:#276044;border-radius:4px;padding:4px 7px;margin-bottom:10px;display:inline-block}.chapter-editor-footer{font-size:12px;color:#6b7d72;line-height:1.8;margin:14px 0 0}@media(max-width:700px){.chapter-nav{gap:8px;padding-bottom:8px}.chapter-nav-label,.chapter-tabs{display:none}.chapter-select-label{display:flex;width:100%;gap:14px;align-items:center;justify-content:space-between;font-size:12px;color:#61796b}.chapter-select{max-width:78%;min-width:0;flex:1;border:1px solid #ccdbd2;border-radius:5px;background-color:#f8fbf9;color:#214e39;font:inherit;font-size:14px;padding:8px 30px 8px 12px}.viewer.has-chapters{padding-bottom:168px}.chapter-editor{padding:16px}.chapter-editor-heading{align-items:flex-start}.chapter-editor h2{font-size:17px}.chapter-editor-heading p{font-size:12px}.chapter-row{grid-template-columns:24px minmax(0,1fr) auto;padding:10px;gap:9px}.chapter-field.start-field{grid-column:2 / -1}.chapter-row-number{grid-row:1 / 3}.chapter-remove{grid-column:3;grid-row:1;margin:0;padding:8px}.chapter-row-note{grid-column:2 / -1;font-size:11px}.chapter-field input,.chapter-field select{font-size:16px}.chapter-editor-heading .quiet{white-space:nowrap;font-size:12px}}
