.im-tool { display: grid; gap: 1.25rem; }
.im-drop { display: grid; place-items: center; gap: .6rem; min-height: 220px; padding: 2rem 1rem; border: 2px dashed rgba(222, 158, 130, .45); border-radius: 16px; background: rgba(222, 158, 130, .05); text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.im-drop:hover, .im-drop.im-over, .im-drop:focus-within { background: rgba(222, 158, 130, .12); border-color: #de9e82; }
.im-drop strong { font-size: 1.25rem; }
.im-drop .im-hint { opacity: .75; font-size: .95rem; }
.im-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.im-drop .button { pointer-events: none; }
.im-options { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.im-options fieldset { border: 0; margin: 0; padding: 0; }
.im-options legend { font-weight: 600; margin-bottom: .4rem; }
.im-options label { display: inline-flex; align-items: center; gap: .35rem; margin: 0 .9rem .3rem 0; white-space: nowrap; }
.im-status { min-height: 1.5em; margin: 0; }
.im-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.im-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: .9rem 1rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.im-previews { display: flex; align-items: flex-end; gap: .6rem; padding: .5rem; border-radius: 8px; background: repeating-conic-gradient(rgba(255, 255, 255, .08) 0 25%, transparent 0 50%) 0 0 / 12px 12px; }
.im-previews canvas { display: block; }
.im-p64 { width: 64px; height: 64px; } .im-p32 { width: 32px; height: 32px; } .im-p16 { width: 16px; height: 16px; image-rendering: pixelated; }
.im-info { display: grid; gap: .2rem; min-width: 0; }
.im-name { overflow-wrap: anywhere; }
.im-meta { opacity: .75; font-size: .9rem; }
.im-buttons { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.im-remove { background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; text-decoration: underline; padding: .4rem; }
.im-remove:hover { opacity: 1; }
.im-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.im-actions[hidden] { display: none; }
.im-clear { background: none; border: 0; color: inherit; opacity: .75; cursor: pointer; text-decoration: underline; }
@media (max-width: 640px) { .im-card { grid-template-columns: 1fr; } .im-buttons { justify-content: flex-start; } }
.cco-docs > .im-section { grid-column: 1 / -1; }
.cco-docs .im-list { padding: 0; }
.cco-docs .im-card { max-width: none; margin: 0; line-height: 1.4; }
.im-hero-icon { display: block; width: 96px; height: 96px; margin: 0 0 14px; }

/* "How to use your new icon" steps (2026-11-22). */
.im-howto h3 { margin: 1.6em 0 .4em; font-size: 1.12em; color: #efe6d6; }
.im-howto ol, .im-howto ul { padding-left: 1.4em; display: grid; gap: .45em; }
.im-howto ol li::marker { color: #e59a74; font-weight: 700; }
.im-howto-link { align-self: center; color: #e59a74; font-size: 14px; }
.im-howto { grid-column: 1 / -1; }
.im-howto .cco-shell { columns: 2 340px; column-gap: 48px; }
.im-howto h2, .im-howto > .cco-shell > p:first-of-type { column-span: all; }
.im-howto h3 { break-after: avoid; } .im-howto ol, .im-howto ul { break-inside: avoid; }
.im-howto li { margin: 0; } .im-howto p { break-inside: avoid; }
