.editor{max-width:900px;margin:40px auto;padding:0 24px 60px}h1{font-size:22px;font-weight:400;margin:0 0 28px}.editor-heading{display:flex;justify-content:space-between;align-items:baseline}#login{max-width:430px;margin:70px auto}label{display:block;font-size:14px;margin-bottom:8px}input:not([type=checkbox]):not([type=file]){width:100%;padding:14px;border:1px solid #ddd;font:inherit;margin-bottom:18px;border-radius:0}.solid{background:#252525;color:white;min-height:46px;padding:12px 20px}.solid:disabled{opacity:.45;cursor:wait}.drop{border:1px dashed #aaa;padding:42px 24px;text-align:center;cursor:pointer;margin-bottom:24px}.drop.dragover{background:#f4f4f4;border-color:#252525}.drop>span{display:block;font-size:18px}.drop small{display:block;color:#777;margin:12px 0}.drop input{display:block;margin:16px auto 0;max-width:100%;font:inherit}.optional{color:#777}.sample-row{padding:24px 0;margin:24px 0;border-top:1px solid #ebebeb;border-bottom:1px solid #ebebeb}.sample-row label{display:flex;align-items:center;gap:10px;margin:0;min-height:28px}.uploaded{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.uploaded img{width:100%;aspect-ratio:3/4;object-fit:cover}.uploaded button{padding:12px 0;min-height:44px;text-decoration:underline;text-underline-offset:3px}.uploaded p{overflow-wrap:anywhere;font-size:12px;color:#777;margin:8px 0 0}#status{padding:18px 0}#undo{text-decoration:underline;min-height:44px}@media(max-width:600px){.editor{margin-top:20px;padding:0 16px}.uploaded{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.header{font-size:12px}h1{font-size:20px}.drop{padding:26px 16px}}

.order-heading{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin-bottom:20px}.order-heading h2{font-size:18px;font-weight:400;margin:0 0 8px}.order-heading p{font-size:13px;color:#777;margin:0}#order-status{font-size:13px;max-width:280px}.photo-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#777}.uploaded .drag-handle{font-size:25px;text-decoration:none;cursor:grab;padding:0 10px}.uploaded article{min-width:0;border:1px solid transparent}.uploaded article.drop-target{border-color:#252525}.uploaded article.dragging{opacity:.4}.photo-controls{display:flex;justify-content:space-between;gap:8px}.uploaded .photo-controls button{font-size:13px;text-decoration:none;min-height:44px}.uploaded button:disabled{opacity:.3;cursor:default}.uploaded .remove-photo{color:#777;font-size:12px}.uploaded img{display:block}.order-heading,#order-status{overflow-wrap:anywhere}@media(max-width:600px){.order-heading{display:block}#order-status{display:block;margin-top:10px}}

.cover-settings{padding:0 0 24px;margin-bottom:26px;border-bottom:1px solid #ebebeb}.cover-settings h2{font-size:18px;font-weight:400;margin:0 0 8px}.cover-settings p{font-size:13px;color:#777}.cover-preview-wrap{display:flex;align-items:center;gap:24px;margin-top:18px}#cover-preview{width:180px;aspect-ratio:16/10;object-fit:cover;background:#eee}.cover-preview-wrap label{margin:0}.cover-preview-wrap select{display:block;min-height:44px;font:inherit;background:white;border:1px solid #ddd;padding:8px 28px 8px 12px;margin-top:8px}.uploaded .set-cover{display:block;font-size:13px;text-decoration:none;min-height:44px;border-bottom:1px solid #ebebeb;width:100%;text-align:left}.uploaded .set-cover[aria-pressed="true"]{font-weight:600}.cover-preview-wrap:has(img:not([src])){display:none}@media(max-width:420px){#cover-preview{width:140px}.cover-preview-wrap{gap:16px}}

.project-assignment{font-size:12px;color:#777;margin:16px 0 0}.project-assignment input{margin-top:6px!important;margin-bottom:0!important;padding:10px!important;min-width:0}.uploaded .project-assignment+button{font-size:12px;padding:10px 0;min-height:44px}

.project-visibility{margin:32px 0}.project-visibility p{color:#777}.project-title-toggle{display:flex;align-items:center;gap:12px;min-height:44px}.project-title-toggle input{width:18px;height:18px;margin:0;flex-shrink:0}

.profile-settings{margin:0 0 32px;border-top:1px solid #ddd;border-bottom:1px solid #ddd;padding:16px 0}.profile-settings summary{cursor:pointer;min-height:32px}.profile-settings form{padding-top:20px;max-width:600px}.profile-settings h2{font-size:18px;font-weight:400}.profile-settings p{font-size:13px;color:#777}.profile-settings textarea{display:block;width:100%;border:1px solid #ddd;border-radius:0;padding:14px;font:inherit;resize:vertical;margin-bottom:24px}.profile-settings input[type=file]{max-width:100%}#portrait-preview{width:120px;height:auto;display:block;margin-bottom:16px}#portrait-preview[hidden]{display:none}

.project-folders{display:block}.editor-project{border-top:1px solid #ddd;padding:16px 0;margin:0 0 16px}.editor-project summary{display:flex;align-items:center;gap:16px;cursor:pointer;min-height:64px;list-style:none}.editor-project summary::after{content:'+';margin-left:auto;font-size:24px}.editor-project[open] summary::after{content:'−'}.editor-project summary>img{width:48px;height:60px;object-fit:cover}.editor-project summary>span{font-size:17px;overflow-wrap:anywhere}.editor-project summary>small{color:#777;white-space:nowrap}.project-tools{padding:20px 0}.project-tools label{display:flex;flex-direction:column;gap:12px}.project-tools input{max-width:100%}.project-tools p{color:#777;font-size:13px}.uploaded .choose-project-cover{font-size:13px;width:100%;text-align:left}.uploaded .choose-project-cover:disabled{opacity:1;font-weight:600;text-decoration:none}.editor-project summary::-webkit-details-marker{display:none}

.project-order-controls{display:flex;align-items:center;gap:18px;padding:12px 0;font-size:12px}.project-order-controls>span{margin-right:auto;color:#777}.project-order-controls button{min-height:44px}.project-order-controls button:disabled{opacity:.3;cursor:default}.editor-project-item{margin-bottom:28px}.editor-project-item .editor-project{margin-bottom:0}

.project-order-controls .project-grab{font-size:28px;min-width:48px;min-height:44px;padding:0 10px;cursor:grab;touch-action:none;user-select:none}.project-order-controls .project-grab:active{cursor:grabbing}.project-sorting .editor-project>:not(summary){display:none}.project-dragging{background:#f5f5f5;outline:1px solid #aaa;opacity:.8}.project-sorting{user-select:none}.project-sorting .editor-project-item{margin-bottom:12px}

.homepage-settings{padding:16px 0;margin:0 0 24px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.homepage-settings summary{cursor:pointer;min-height:32px}.homepage-settings form{padding-top:20px}.homepage-settings p{font-size:13px;color:#777}.homepage-settings input{display:block;max-width:100%;margin:12px 0 20px}#homepage-preview{display:block;max-width:100%;width:auto;max-height:320px;height:auto;object-fit:contain;margin-bottom:24px}

.uploaded article video{width:100%;height:220px;object-fit:contain;background:#f5f5f5}.editor-project summary video{width:48px;height:60px;object-fit:cover}.project-tools p{line-height:1.6}

#homepage-preview{display:block;width:100%;max-height:420px;object-fit:contain;margin:20px 0}
