.upload-handmade-section .handmade-upload-option{display:flex;align-items:flex-start;gap:12px;margin:0;padding:16px;border:2px solid #e5c17b;border-radius:14px;background:#fffaf0;color:#26354c;cursor:pointer}.handmade-upload-option input{flex:none;width:22px;height:22px;margin:3px 0;accent-color:#d9aec0}.handmade-upload-option>span{display:grid;gap:7px;min-width:0}.handmade-upload-option strong{font-size:15px}.handmade-upload-option small{color:#887047;line-height:1.7}.handmade-upload-option em{font-style:normal;font-size:12px;color:#748294}.handmade-upload-option.is-enabled{border-color:#d39ab1;background:#f62079}.handmade-upload-option:has(input:disabled){cursor:default}.handmade-tool.is-active{background:#dc0961!important;color:#cca3b4!important}.handmade-icon{font-size:27px;line-height:1}
.handmade-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 24px));height:min(850px,calc(100dvh - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:1px solid #730734;border-radius:20px;color:#20314e;background:white;overflow:hidden;box-shadow:0 24px 80px #20314e40}.handmade-dialog[open]{display:flex;flex-direction:column}.handmade-dialog::backdrop{background:#20314e70;backdrop-filter:blur(4px)}.handmade-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 24px;border-bottom:1px solid #6f0531;flex:none}.handmade-header h2{margin:5px 0;font-size:24px}.handmade-header p{margin:0;color:#748294;font-size:13px}.handmade-header .handmade-eyebrow{font-size:10px;letter-spacing:2px;color:#d1a4b6}.handmade-header button{min-height:44px;flex:none}.handmade-body{padding:18px 24px;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}.handmade-note{margin:0 0 16px;background:#fff8e9;color:#8b6c38;border:1px solid #eed8a4;border-radius:12px;padding:13px 15px;line-height:1.7;font-size:14px}.handmade-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.handmade-mode{min-height:52px;padding:12px;border:1px solid #750936;border-radius:12px;background:#f8fbfa;color:#32435b;font:inherit;font-weight:700;cursor:pointer}.handmade-mode.is-active{border:2px solid #d39ab1;background:#f50a6c;color:#cda4b5}.handmade-mode:disabled{opacity:.5;cursor:default}.handmade-description{font-size:12px;color:#778797;line-height:1.6}.handmade-preview{display:block;max-width:100%;max-height:42dvh;width:auto;height:auto;aspect-ratio:auto;margin:12px auto;image-rendering:pixelated;background-color:#fff;background-image:conic-gradient(#edf2f0 25%,#fff 0 50%,#edf2f0 0 75%,#fff 0);background-size:16px 16px;border:1px solid #6c0731;border-radius:4px}.handmade-error{color:#be4c4c;font-size:13px;line-height:1.6}.handmade-error:empty{display:none}.handmade-footer{flex:none;display:flex;flex-direction:column;gap:10px;padding:14px 24px;border-top:1px solid #6f0531;background:white}.handmade-status{margin:0;color:#b26887;font-size:12px;line-height:1.6}.handmade-actions{display:grid;grid-template-columns:1fr 1.6fr;gap:10px}.handmade-actions button{min-height:46px}.handmade-actions button:disabled{opacity:.45}
@media(max-width:640px){.handmade-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:17px}.handmade-header{padding:16px}.handmade-header h2{font-size:22px}.handmade-body{padding:14px}.handmade-note{font-size:13px;padding:12px}.handmade-footer{padding:12px 14px}.handmade-actions button{padding:10px 8px;font-size:14px}.handmade-preview{max-height:38dvh}.handmade-upload-option strong{font-size:14px}}
.upload-handmade-section .handmade-upload-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:62px;margin:0;padding:11px 13px;background:#fff;border:1px solid #690730;border-radius:12px;color:#27384e;text-align:left;cursor:pointer;font:inherit}
.upload-handmade-section .handmade-upload-entry>span{display:grid;gap:3px;min-width:0}
.upload-handmade-section .handmade-upload-entry strong{font-size:14px;line-height:1.35}
.upload-handmade-section .handmade-upload-entry small{color:#7b8997;font-size:11px;line-height:1.45}
.upload-handmade-section .handmade-upload-entry b{color:#cfa2b5;font-size:20px}
.upload-handmade-section .handmade-upload-entry:hover,.upload-handmade-section .handmade-upload-entry:focus-visible{background:#f5fbf8;border-color:#8a1244}
.upload-handmade-section .handmade-upload-entry.is-enabled{border-color:#a41651;background:#f50a6c}
