/* Scoped monochrome image tools: stable controls on phone and desktop. */
#crop-panel>summary{min-height:56px;box-sizing:border-box;gap:12px;align-items:center}
#crop-panel .crop-arrow{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;font-size:0;line-height:0;transform:none!important;transition:none}
#crop-panel .crop-arrow svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
#crop-panel[open] .crop-arrow svg{transform:rotate(180deg)}
#crop-panel .image-color-row209,.design-editor .image-color-row209,#de-image-properties .image-color-row209{display:grid!important;grid-template-columns:minmax(0,1fr) 40px auto;align-items:center;gap:10px;margin:14px 0 6px;padding:12px 0;border-top:1px solid #e5e5e5}
.image-color-row209>label{font-size:13px!important;font-weight:500;line-height:1.4;margin:0!important;min-width:0}
.image-color-row209 input[type=color]{display:block!important;box-sizing:border-box!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;padding:3px!important;margin:0!important;border:1px solid #d5d5d5!important;border-radius:50%!important;background:#fff!important;cursor:pointer;overflow:hidden}
.image-color-row209 input[type=color]::-webkit-color-swatch-wrapper{padding:0;border-radius:50%}
.image-color-row209 input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}
.image-color-row209 input[type=color]::-moz-color-swatch{border:0;border-radius:50%}
#crop-panel .image-color-row209 button,#de-image-properties .image-color-row209 button{width:auto!important;min-width:0!important;min-height:36px!important;height:36px!important;margin:0!important;padding:0 10px!important;border:1px solid #d9d9d9!important;border-radius:7px!important;background:#fff!important;color:#222!important;font-size:12px!important;line-height:1!important;white-space:nowrap;box-shadow:none!important}
#crop-panel .image-color-row209+.hint,#de-image-properties .image-color-row209+.hint{margin:4px 0 10px;font-size:11px!important;color:#737373;line-height:1.5}
#background-message{font-size:12px!important;line-height:1.5;margin:8px 0 0}
.mode-tabs label>span{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:4px;line-height:1.3}
.mode-tabs label>span>small{display:block;font-size:10px!important;font-weight:400;line-height:1.3;white-space:nowrap;opacity:.72;letter-spacing:-.25px}
.background-choice209{width:min(380px,calc(100vw - 32px));box-sizing:border-box;padding:24px!important;border:1px solid #dedede!important;border-radius:14px!important;background:#fff!important;color:#222!important;box-shadow:0 18px 60px #0003}
.background-choice209::backdrop{background:#0006}
.background-choice209 h2{font-size:18px!important;line-height:1.4;margin:0 0 10px!important;color:#111!important}
.background-choice209 p{font-size:13px;line-height:1.7;color:#666;margin:0 0 20px}
.background-choice209>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.background-choice209 button{min-width:0!important;width:100%!important;min-height:44px!important;padding:10px 6px!important;margin:0!important;font-size:12px!important;line-height:1.4!important;border-radius:8px!important;border:1px solid #d5d5d5!important;background:#fff!important;color:#222!important}
.background-choice209 button[data-removed]{background:#191919!important;color:#fff!important;border-color:#191919!important}
@media(max-width:480px){#crop-panel .background-tool{padding:12px}.image-color-row209{gap:8px!important}.mode-tabs label>span>small{font-size:9px!important}}

.background-choice209 h2,.background-choice209 p{text-align:center!important}
.background-choice209 h2{font-size:17px!important;letter-spacing:-.5px;word-break:keep-all}

/* Icon library navigation: explicit states prevent global black hover conflicts. */
#design-editor #de-icon-back{display:inline-flex!important;align-items:center;justify-content:flex-start;gap:7px;width:auto!important;max-width:100%;min-height:36px!important;height:auto!important;padding:8px 11px!important;margin:0 0 8px!important;border:1px solid #d9d9d9!important;border-radius:7px!important;background:#fff!important;color:#222!important;-webkit-text-fill-color:#222!important;font-size:12px!important;font-weight:600!important;line-height:1.4!important;box-shadow:none!important;cursor:pointer;transition:background-color .12s,border-color .12s}
#design-editor #de-icon-back:hover,#design-editor #de-icon-back:focus-visible{background:#f1f1f1!important;color:#111!important;-webkit-text-fill-color:#111!important;border-color:#aaa!important}
#design-editor #de-icon-back:active{background:#e6e6e6!important;color:#111!important;-webkit-text-fill-color:#111!important}
#design-editor #de-icon-back:focus-visible{outline:2px solid #333!important;outline-offset:2px}
#design-editor #de-icon-back svg{display:block;flex:0 0 16px;width:16px;height:16px;fill:none!important;stroke:currentColor!important;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#design-editor #de-icon-back span{font-size:inherit!important;color:inherit!important;-webkit-text-fill-color:inherit!important;white-space:nowrap}
#design-editor #de-icon-back[hidden]{display:none!important}

/* Separate navigation from the category heading at every viewport width. */
#design-editor .de-icon-result-bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px 8px!important;margin:0 0 12px!important}
#design-editor .de-icon-result-bar #de-icon-back{grid-column:1/-1;grid-row:1;justify-self:start;margin:0!important}
#design-editor #de-icon-result-title{grid-column:1;grid-row:2;min-width:0;line-height:1.5;overflow-wrap:anywhere}
#design-editor #de-icon-count{grid-column:2;grid-row:2;margin:0!important;white-space:nowrap;line-height:1.5}
