.co-page{padding-bottom:64px}
.co-breadcrumb{padding:22px 0 18px;display:flex;gap:9px;color:var(--muted);font-size:.87rem}.co-breadcrumb a{color:var(--primary);font-weight:700}
.co-heading{display:flex;gap:16px;align-items:center;padding:8px 0 24px}.co-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:16px;background:#eef8f3;font-size:2rem}.co-heading h1{margin:0;font-size:clamp(2rem,5vw,3rem);letter-spacing:-.045em}.co-heading p{margin:7px 0 0;color:var(--muted)}.co-promo{margin-bottom:18px}
.co-workspace{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(300px,.85fr);border:1px solid var(--border);border-radius:20px;background:#fff;overflow:hidden}.co-main{padding:20px;border-right:1px solid var(--border)}
.co-dropzone{min-height:300px;padding:35px 20px;display:grid;place-items:center;align-content:center;text-align:center;border:2px dashed #b5c3d0;border-radius:16px;background:#fbfcfd;cursor:pointer}.co-dropzone.drag-over{border-color:var(--primary);background:#f4fbf8}.co-image-icon{width:76px;height:76px;display:grid;place-items:center;border:2px solid #aab7c4;border-radius:14px;color:#176c57;font-weight:900}.co-dropzone h2{margin:16px 0 5px}.co-dropzone p{margin:0 0 20px;color:var(--muted)}.co-select,.co-primary{border:0;border-radius:12px;padding:13px 20px;background:#e72727;color:#fff;font-weight:850;cursor:pointer}
.co-files-section,.co-editor,.co-result{margin-top:18px;padding:18px;border:1px solid var(--border);border-radius:14px}.co-section-title,.co-editor-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.co-section-title h2,.co-editor-head h2{margin:0;font-size:1.05rem}.co-section-title p,.co-editor-head p{margin:4px 0 0;color:var(--muted);font-size:.76rem}.co-section-title button{border:1px solid var(--border);border-radius:9px;padding:8px 10px;background:#fff;color:var(--primary);font-weight:800}
.co-files-list{margin-top:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.co-file-card{position:relative;padding:8px;border:1px solid var(--border);border-radius:10px;background:#fff;cursor:grab}.co-file-card.dragging{opacity:.5}.co-file-card img{width:100%;aspect-ratio:1.25;object-fit:cover;border-radius:7px}.co-file-card span{display:block;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;color:var(--muted)}.co-file-card button{position:absolute;top:3px;right:3px;width:27px;height:27px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#a33;font-size:1rem}
.co-preview-wrap{margin-top:14px;min-height:440px;padding:20px;display:grid;place-items:center;overflow:auto;border-radius:12px;background:#17201d}.co-preview-wrap canvas{max-width:100%;max-height:560px;box-shadow:0 5px 22px rgba(0,0,0,.25)}
.co-panel{margin-top:18px;padding-top:17px;border-top:1px solid var(--border)}.co-panel h2{margin:0 0 11px;font-size:1rem}.co-layout-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.co-layout-grid button{padding:11px;text-align:left;border:1px solid var(--border);border-radius:10px;background:#fff}.co-layout-grid button.active,.co-layout-grid button:hover{border-color:var(--primary);background:#f2faf6}.co-layout-grid strong,.co-layout-grid span{display:block}.co-layout-grid strong{font-size:.8rem}.co-layout-grid span{margin-top:3px;color:var(--muted);font-size:.7rem}
.co-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.co-settings label{display:grid;gap:7px;font-size:.82rem;font-weight:800}.co-settings select,.co-settings input[type=color]{padding:10px;border:1px solid var(--border);border-radius:8px;background:#fff}.co-settings input[type=color]{height:42px;width:100%}.co-settings span{color:var(--muted);font-size:.7rem}
.co-result-row{margin-top:13px;display:flex;justify-content:space-between;gap:12px;align-items:center}.co-result-row span{color:var(--muted);font-size:.8rem}.co-result-row a{padding:10px 13px;border-radius:9px;background:#eef6f3;color:var(--primary);font-weight:850;text-decoration:none}
.co-how{margin-top:20px;padding:18px;border:1px solid var(--border);border-radius:14px}.co-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.co-how-grid article{display:flex;gap:10px}.co-how-grid article>span{width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;border-radius:50%;background:var(--primary);color:#fff;font-weight:900}.co-how-grid h3{margin:1px 0 4px;font-size:.86rem}.co-how-grid p{margin:0;color:var(--muted);font-size:.78rem}
.co-sidebar{padding:24px 22px;display:flex;flex-direction:column}.co-sidebar-title{display:flex;justify-content:space-between;gap:10px}.co-sidebar-title h2{margin:0;font-size:1.02rem}.co-sidebar-title span{color:var(--muted);font-size:.72rem}.co-notice{margin-top:18px;padding:14px;border:1px solid #cde0f7;border-radius:11px;background:#f4f9ff;color:#315f96;font-size:.82rem}.co-benefits{margin:26px 0;display:grid;gap:20px}.co-benefits article{display:flex;gap:11px}.co-benefits i{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border:2px solid #24a261;border-radius:50%;color:#14864c;font-style:normal}.co-benefits p{margin:3px 0 0;color:var(--muted);font-size:.77rem}
.co-message{margin:auto 0 12px;padding:11px;border-radius:10px;font-size:.8rem}.co-message.error{background:#fff2f2;color:#963939}.co-message.success{background:#edf8f3;color:#1f654f}.co-primary{width:100%;margin-top:auto;min-height:46px}.co-primary:disabled{background:#f5c7c7;color:#b66c6c}.co-secondary{width:100%;margin-top:10px;min-height:46px;border:1px solid var(--border);border-radius:11px;background:#fff;font-weight:850}.co-secondary:disabled{opacity:.5}
.co-tip{margin-top:20px;padding:15px 18px;border:1px solid #f1dede;border-radius:13px;background:#fff8f8}.co-info{max-width:920px;padding-top:48px}.co-info p{color:var(--muted)}
@media(max-width:900px){.co-workspace{grid-template-columns:1fr}.co-main{border-right:0;border-bottom:1px solid var(--border)}.co-how-grid{grid-template-columns:1fr}.co-preview-wrap{min-height:340px}}
@media(max-width:620px){.co-main,.co-sidebar{padding:16px}.co-section-title,.co-result-row{flex-direction:column}.co-settings,.co-layout-grid,.co-files-list{grid-template-columns:1fr 1fr}.co-preview-wrap{min-height:260px;padding:8px}}
