.home-image-import{--home-image-ink:var(--disc-ink,#46384f);--home-image-paper:var(--disc-paper,#fff8e6);--home-image-edge:var(--disc-edge,#9a8b8d);--home-image-soft:var(--disc-soft,#eee5d3);--home-image-accent:var(--disc-accent,#715678);--home-image-muted:var(--disc-muted,#756975);box-sizing:border-box;min-width:0;max-width:100%;margin:0 0 20px;padding:14px;border:2px solid var(--home-image-edge);background:var(--home-image-paper);color:var(--home-image-ink);font:inherit;line-height:1.65}
.home-image-import *{box-sizing:border-box}.home-image-import [hidden]{display:none!important}
.home-image-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px}.home-image-heading strong{font-size:14px}.home-image-heading>span{font-size:11px;color:var(--home-image-muted)}
.home-image-help,.home-image-limits{margin:6px 0 10px;font-size:11px;color:var(--home-image-muted);overflow-wrap:anywhere}.home-image-limits{margin-top:6px}
.home-image-file-label{display:block;margin:10px 0 6px;font-size:12px;font-weight:700;cursor:pointer}
.home-image-import .home-image-file{display:block;width:100%;min-width:0;max-width:100%;min-height:44px;padding:0;border:2px solid var(--home-image-edge);border-radius:0;background:var(--home-image-soft);color:var(--home-image-ink);font:inherit;font-size:12px;cursor:pointer;overflow:hidden}
.home-image-file::file-selector-button{min-height:40px;margin-right:8px;padding:7px 12px;border:0;border-right:2px solid var(--home-image-edge);border-radius:0;background:var(--home-image-ink);color:var(--home-image-paper);font:inherit;font-weight:700;cursor:pointer}
.home-image-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;min-width:0;margin:12px 0;padding:10px;border:1px solid var(--home-image-edge)}.home-image-options legend{padding:0 6px;font-size:12px;font-weight:700}.home-image-options label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;font-weight:700}
.home-image-import .home-image-options select{display:block;width:100%;min-width:0;max-width:100%;min-height:44px;padding:7px 25px 7px 8px;border:2px solid var(--home-image-edge);border-radius:0;background-color:var(--home-image-paper);color:var(--home-image-ink);font:inherit;font-weight:400;cursor:pointer}
.home-image-options .home-image-check{grid-column:1/-1;flex-direction:row;align-items:center;min-height:36px;gap:8px;font-weight:400;cursor:pointer}.home-image-import .home-image-check input{flex:0 0 20px;width:20px!important;height:20px!important;min-height:20px!important;margin:0!important;padding:0!important;accent-color:var(--home-image-accent);cursor:pointer}
.home-image-preview{display:flex;flex-direction:column;align-items:center;min-width:0;margin:12px 0;padding:10px;border:2px solid var(--home-image-edge);background:var(--home-image-soft)}
.home-image-import .home-image-preview canvas{display:block;width:min(100%,400px)!important;max-width:100%!important;height:auto!important;aspect-ratio:10/9;margin:0;border:1px solid var(--home-image-edge);border-radius:0;image-rendering:pixelated;background:#f6efdf}
.home-image-preview-caption{display:block;margin-top:6px;font-size:11px;text-align:center;overflow-wrap:anywhere;color:var(--home-image-muted)}
.home-image-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.home-image-actions>span{font-size:11px;color:var(--home-image-muted)}
.home-image-import .home-image-apply{display:inline-flex;align-items:center;justify-content:center;min-width:130px;min-height:44px;padding:9px 14px;border:2px solid var(--home-image-ink);border-radius:0;background:var(--home-image-accent);color:var(--home-image-paper);box-shadow:2px 2px 0 var(--home-image-ink);font:inherit;font-size:13px;font-weight:700;line-height:1.4;cursor:pointer;touch-action:manipulation}.home-image-import .home-image-apply:hover:not(:disabled){background:var(--home-image-ink)}
.home-image-status{min-height:40px;margin:12px 0 0;padding:8px 10px;border-left:3px solid #bda06a;background:var(--home-image-soft);font-size:12px;overflow-wrap:anywhere}
.home-image-import :is(button,input,select):focus-visible{outline:3px solid var(--home-image-accent);outline-offset:3px}.home-image-import :is(button,input,select):disabled{opacity:.5;cursor:default}.home-image-import[aria-busy=true] .home-image-preview{opacity:.7}
@media(max-width:520px){.home-image-import{padding:10px}.home-image-options{grid-template-columns:minmax(0,1fr);padding:8px}.home-image-options .home-image-check{grid-column:auto}.home-image-actions .home-image-apply{width:100%}.home-image-actions>span{width:100%;text-align:center}.home-image-heading>span{font-size:10px}}
