.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.chapters-studio .editor{min-height:0}.chapters-studio .source{gap:12px}.source-button{width:100%;min-height:44px}.chapters-studio .source-note{margin:0;padding:0;border:0}.chapters-studio .source-note a,.chapters-studio .notice a{color:var(--accent);text-underline-offset:2px}.paste summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:14px;font-weight:700;cursor:pointer;list-style:none}.paste summary::-webkit-details-marker{display:none}.paste summary:after{content:"+";font-size:20px;font-weight:400;color:var(--accent)}.paste[open] summary:after{content:"–"}.paste textarea{display:block;width:100%;min-height:120px;margin:4px 0 8px;padding:8px 10px;border:1px solid #b2c4d5;border-radius:7px;background:var(--white);font-family:var(--mono);font-size:14px;line-height:1.45;resize:vertical}.field-help{font-size:13px;line-height:1.5;color:var(--muted)}.optional{font-weight:400;color:var(--muted)}.chapters-studio input[aria-invalid=true]{border-color:#a32b16;box-shadow:0 0 0 1px #a32b16}.add-chapter{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:12px 0;border-top:1px solid var(--line-soft)}.add-chapter label{font-size:14px;font-weight:700}.add-chapter input{width:calc(9ch + 24px);font-family:var(--mono);text-align:center}.chapter-lines{list-style:none;margin:0;padding:0;max-height:780px;overflow:auto;border-top:1px solid var(--line-soft);scroll-padding:12px}.chapter-lines:focus{outline:none}.cue-row{display:grid;grid-template-columns:4.5em minmax(0,1fr) auto;align-items:center;gap:6px 14px;padding:8px 10px 8px 14px;border-bottom:1px solid var(--line-soft);border-left:3px solid transparent}.cue-row.is-start{border-left-color:var(--accent)}.cue-time{font-family:var(--mono);font-size:13px;color:var(--muted)}.cue-text{font-size:15px;line-height:1.5;overflow-wrap:anywhere}.mark-button{min-width:6.5em;font-size:13px}.mark-button span{font-family:var(--mono)}.chapter-row{display:grid;grid-template-columns:auto calc(9ch + 24px) minmax(0,1fr) auto;align-items:center;gap:8px 10px;padding:10px 10px 10px 11px;margin-top:6px;background:var(--accent-soft);border-left:6px solid var(--accent);border-radius:0 8px 8px 0}.chapter-row:first-child{margin-top:0}.chapter-row.has-problem{background:var(--warn-bg);border-left-color:var(--warn)}.chapter-label{font-size:13px;font-weight:800;letter-spacing:.02em;color:var(--deep);white-space:nowrap}.chapter-time{font-family:var(--mono);text-align:center;width:100%}.chapter-title{width:100%;font-weight:700}.chapter-title::placeholder{font-weight:400;color:#6a7a8c}.exporter{gap:14px}.checks-box{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--white)}.check-summary{margin:0 0 10px;font-size:15px;font-weight:800;line-height:1.4}.check-summary[data-kind=ok]{color:var(--ok)}.check-summary[data-kind=warn]{color:var(--warn)}.checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.checks>li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:4px 8px;align-items:start;font-size:14px;line-height:1.45}.check-mark{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:13px;font-weight:800;background:#dcefe6;color:var(--ok)}.checks .fail .check-mark{background:var(--warn-bg);color:var(--warn)}.checks .fail .check-label{font-weight:700}.problem-list{grid-column:2;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}.problem-list .text-button{display:inline;min-height:0;padding:2px 0;white-space:normal;text-align:left;font-size:13px;font-weight:600;line-height:1.45;color:var(--warn)}.problem-list .tool-button{margin-top:4px}.formats{display:flex;flex-wrap:wrap;gap:6px}.format-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 12px;border:1px solid #b2c4d5;border-radius:7px;background:var(--white);font-size:13px;font-weight:700}.format-button:hover{border-color:var(--ink)}.format-button[aria-pressed=true]{background:var(--deep);border-color:var(--deep);color:#fff}.output{display:block;width:100%;min-height:150px;padding:10px 12px;border:1px solid #b2c4d5;border-radius:8px;background:var(--white);font-family:var(--mono);font-size:13px;line-height:1.55;resize:vertical;white-space:pre;overflow:auto}.output-actions{display:flex;flex-wrap:wrap;gap:8px}.output-actions .export-button{flex:1;min-height:44px;font-family:var(--sans)}.output-actions .export-button:disabled{opacity:.5;cursor:not-allowed}#copy-output:after{content:none}.id3-help{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.id3-help .settings-note{margin:0}.command{display:block;width:100%;padding:10px;border-radius:6px;background:#e3eaf2;font-size:12.5px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}@media screen and (min-width:1181px){.chapters-studio{grid-template-columns:280px minmax(0,1fr) minmax(340px,400px);grid-template-areas:"source editor monitor"}.chapters-studio .monitor{border-top:0;border-right:0;border-left:1px solid #d6e0ec}}@media(max-width:800px){.chapters-studio .source>*{grid-column:1/-1}.chapters-studio .source>.field{grid-column:auto}}@media(max-width:640px){.chapters-studio .tool-button,.chapters-studio .ghost-button,.chapters-studio .text-button:not(.problem-list .text-button){min-height:44px}.chapter-lines{max-height:70vh}.cue-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"time mark" "text text";padding:8px 8px 10px 11px}.cue-time{grid-area:time}.cue-text{grid-area:text}.mark-button{grid-area:mark}.chapter-row{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"label time remove" "title title title"}.chapter-label{grid-area:label}.chapter-time{grid-area:time;max-width:calc(9ch + 24px)}.chapter-title{grid-area:title}.chapter-remove{grid-area:remove}.add-chapter label{flex-basis:100%}.add-chapter input{flex:1}.format-button{flex:1 1 calc(50% - 6px);min-height:44px}.output{font-size:12.5px}}@media(max-width:500px){.chapters-studio .source{display:flex;align-items:stretch}.chapters-studio .dropzone{min-height:132px}}
