/* Editor-only palette; shared lesson/player styles remain independent. */
.editor{--green:#77876f;--line:#f1f5ee;color:#344330;background:#fafbf9;min-height:100dvh}
.editor .top{border-color:#f1f5ee;padding-block:12px}.editor .top>strong{color:#56724b;font-size:16px;font-weight:500}
.editor main{max-width:1440px;padding-top:24px}.editor .page-heading{margin-bottom:18px;position:relative;gap:24px}.editor .heading-copy{display:flex;align-items:center;gap:24px;min-width:0}.editor .heading-art{width:150px;height:100px;flex:none}.editor h1{font-size:32px;letter-spacing:.02em;color:#344330;margin:0 0 8px}.editor .page-heading p{font-size:16px;margin:0;color:#77876f}.editor h2{color:#344330;font-size:22px}
.editor button{border-color:#f1f5ee;border-radius:13px;color:#56724b;transition:background .15s,border-color .15s}.editor button:hover{background:#f1f5ee;border-color:#a1b496}.editor button:active:not(:disabled){transform:translateY(1px)}.editor button:focus-visible,.editor a:focus-visible,.editor input:focus-visible,.editor select:focus-visible,.editor summary:focus-visible{outline:3px solid #a1b496;outline-offset:3px}.editor button:disabled{opacity:.4}.editor #new-plan{border-color:#dfe8d9;color:#77876f;background:#fff;white-space:nowrap}.editor input,.editor select{border-color:#f1f5ee;background:#fff;border-radius:12px;color:#56724b}.editor input::placeholder{color:#77876f}.editor select{appearance:none;padding-right:34px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23717e94' stroke-width='2'%3E%3Cpath d='m4 7 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center}
.editor p,.editor .hint,.editor .saved-row small,.editor .step-title small,.editor .resource small,.editor .resource-group summary small,.editor #item-count{color:#77876f}.editor a{color:#77876f}.editor .saved{background:#fff;border:1px solid #f1f5ee;border-radius:16px;padding:16px 20px;margin-bottom:24px}.editor .saved>summary{color:#56724b;font-size:16px}.editor .saved[open]>summary{margin-bottom:14px}.editor .saved-row{border-color:#f1f5ee}
.editor .workspace{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.editor .sequence,.editor .library{padding:26px;background:#fff;border:1px solid #f1f5ee;border-radius:16px;min-width:0;box-shadow:none}.editor .sequence{border-top:1px solid #dfe8d9}.editor .library{border-top:1px solid #dfe8d9}.editor .name-label{font-size:15px;color:#77876f}.editor .sequence>input{font-size:23px;background:#fafbf9}.editor .sequence-heading{margin-top:26px}.editor #item-count{font-size:13px;background:#f1f5ee;padding:5px 8px;border-radius:7px;vertical-align:middle}.editor #preview{background:#f1f5ee;border-color:#f1f5ee;color:#56724b;font-size:16px}.editor #preview:hover{background:#dfe8d9}
.editor .step{border:1px solid #f1f5ee;background:#fff;border-radius:15px;padding:13px 10px;margin-bottom:10px;gap:12px}.editor .step-number{width:34px;height:38px;border-radius:10px 10px 14px 14px;background:#f1f5ee;color:#77876f;font-size:17px;font-weight:700}.editor .step-title strong{font-size:17px}.editor .step-title small{font-size:13px;line-height:1.5}.editor .step-controls{gap:2px}.editor .step-controls button{width:40px;height:44px;border:0;background:#fafbf9;border-radius:9px;color:#77876f}.editor .step-controls button:hover{background:#f1f5ee;color:#77876f}.editor .step-controls [data-remove]:hover{background:#fff0eb;color:#bd6753}
.editor .empty{background:#fafbf9;border:1px dashed #dfe8d9;padding:24px 20px 30px;color:#77876f;border-radius:16px;font-size:15px}.editor .empty img{display:block;width:116px;height:78px;margin:0 auto 10px}.editor .empty strong{display:block;color:#56724b;font-size:18px;font-weight:600;margin-bottom:4px}.editor .save-actions .primary{background:#77876f;border-color:#77876f;color:#fff;box-shadow:none}.editor .save-actions .primary:hover{background:#77876f}.editor #publish{background:#f1f5ee;border-color:#f1f5ee;color:#77876f}.editor #publish:hover{background:#f1f5ee}.editor .save-actions{gap:10px}.editor .save-actions button{font-size:16px}.editor .help{border-color:#f1f5ee;color:#77876f}.editor #share-box{border-color:#f1f5ee}
.editor .library>h2{display:flex;align-items:center;gap:10px}.editor .library>h2::before{content:'+';display:grid;place-items:center;width:30px;height:30px;background:#f1f5ee;color:#56724b;border-radius:10px;font-size:24px;font-weight:500}.editor .library>.hint{font-size:14px;margin-top:10px}.editor .library-type{font-size:14px;color:#77876f;margin-top:20px}.editor .filters{margin:12px 0 20px}.editor .resource-group{border:1px solid #f1f5ee;border-radius:16px;overflow:hidden;margin-bottom:14px}.editor .resource-group summary{background:#fafbf9;color:#56724b;font-size:17px;padding:14px 16px}.editor .resource-group summary:hover{filter:brightness(.985);border-radius:0}.editor .resource-group summary small{font-size:13px;margin-top:4px}.editor .resource{border-color:#f1f5ee;padding:16px;gap:12px}.editor .resource strong{font-size:18px;color:#344330}.editor .resource button{background:#77876f;color:#fff;border-color:#77876f;font-size:15px;padding:9px 13px;min-height:44px;flex:none}.editor .resource button:hover{background:#77876f;border-color:#77876f}.editor #notice{background:#fafbf9;border-color:#a1b496;color:#56724b;border-radius:0 10px 10px 0;font-size:15px}.editor #notice.error{background:#fff1eb;border-color:#e49673;color:#935e48}.editor #catalogue{padding-right:2px;scrollbar-color:#dfe8d9 transparent}.editor .account-entry button{color:#56724b}
@media(max-width:1000px) and (min-width:701px){.editor .workspace{gap:16px}.editor .sequence,.editor .library{padding:20px}.editor .step{flex-wrap:wrap}.editor .step-controls{margin-left:auto}.editor .step-title{min-width:60%}}
@media(max-width:700px){.editor .top{gap:12px;padding:12px 16px;flex-wrap:wrap}.editor .top>strong{display:none}.editor main{padding:20px 14px 40px}.editor .heading-copy{gap:12px}.editor .heading-art{width:84px;height:68px}.editor h1{font-size:26px}.editor .page-heading{align-items:center;flex-wrap:wrap;gap:14px}.editor .page-heading p{font-size:14px}.editor #new-plan{margin-left:auto;font-size:14px;min-height:44px}.editor .saved{padding:15px 16px;margin-bottom:18px}.editor .workspace{grid-template-columns:1fr;gap:18px}.editor .sequence,.editor .library{padding:20px 16px;border-radius:18px}.editor .sequence>input{font-size:21px;height:54px}.editor .step{gap:8px;flex-wrap:wrap}.editor .step-title{min-width:60%}.editor .step-controls{margin-left:auto}.editor .step-controls button{width:44px}.editor .resource{padding:14px 12px}.editor .resource button{padding:9px 12px}.editor .save-actions button{font-size:15px;padding:11px 12px}.editor .filters{gap:6px}.editor .filters select{max-width:112px;padding-left:9px}.editor .empty{padding:20px 12px}.editor .library-type{gap:8px}}
@media(prefers-reduced-motion:reduce){.editor button{transition:none}}

.editor .save-actions .primary,.editor .resource button{background:#536f46;border-color:#536f46;color:white}.editor .save-actions .primary:hover,.editor .resource button:hover{background:#435d37;border-color:#435d37}.editor h1,.editor h2,.editor .resource strong,.editor .step-title strong{color:#303b2e}.editor input::placeholder{color:#909a8a;font-weight:400}
