
/* V126 backgrounds — additional curated swatches, retaining the original CMYK palettes and HSV color wheel. */
#editor [data-panel="backgrounds"] .tool-heading{margin-bottom:17px}
#editor [data-panel="backgrounds"] .tool-heading p{line-height:1.55;max-width:260px}
#editor #coverBgSwatches,#editor #pageColors{display:block;grid-template-columns:none;gap:0;margin:0;padding:0}
#editor .memo-bg-current126{display:flex;gap:11px;align-items:center;border:1px solid #e4e2dd;border-radius:11px;background:#f9f8f5;padding:10px 11px;margin:0 0 19px}
#editor .memo-bg-current-chip126{width:46px;height:46px;flex:none;border-radius:9px;border:1px solid #dfd9d0;box-shadow:inset 0 1px 2px #00000010}
#editor .memo-bg-current-info126{min-width:0;display:grid;gap:3px}
#editor .memo-bg-current-info126 strong{font-size:12px;color:#34363a;font-weight:720}
#editor .memo-bg-current-info126 span{font:12px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;color:#52616a}
#editor .memo-bg-current-info126 small{font:10px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;color:#7b8185}
#editor .memo-bg-group126{margin:0 0 17px}
#editor .memo-bg-group-title126{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 9px}
#editor .memo-bg-group-title126 strong{font-size:11px;font-weight:760;color:#394450;letter-spacing:.02em}
#editor .memo-bg-group-title126 small{font-size:10px;color:#88919a}
#editor .memo-bg-grid126{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#editor .memo-bg-swatch126{position:relative;width:100%;height:41px;min-width:0;border:1px solid #d9dde0;border-radius:9px;background:var(--bg-swatch126);cursor:pointer;box-shadow:0 1px 2px #0000000a;transition:border-color .15s, transform .15s,box-shadow .15s}
#editor .memo-bg-swatch126:hover{transform:translateY(-2px);border-color:#85919d;box-shadow:0 3px 9px #26344021}
#editor .memo-bg-swatch126:focus-visible{outline:2px solid #307cc1;outline-offset:3px}
#editor .memo-bg-swatch126.active{outline:2px solid #283e50;outline-offset:2px;z-index:2}
#editor .memo-bg-swatch126.active::after{content:'✓';position:absolute;right:3px;bottom:3px;display:grid;place-items:center;min-width:15px;height:15px;border-radius:50%;background:#253748;color:white;font:700 10px Arial,sans-serif;box-shadow:0 0 0 1px #ffffffb3}
#editor .memo-bg-swatch126.is-light.active::after{background:#263746}
#editor .memo-bg-custom126{margin-top:8px;padding-top:16px;border-top:1px solid #e9eaeb}
#editor .memo-bg-custom-head126{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}
#editor .memo-bg-custom-head126 strong{font-size:12px;color:#344653}
#editor .memo-bg-custom-head126 small{font-size:10px;color:#8d949a}
#editor .memo-bg-wheel-wrap126{border:1px solid #e2e6e7;border-radius:10px;background:#fff;padding:10px}
#editor .memo-bg-wheel-wrap126 .wheel-picker9{width:100%;margin:0!important;display:block}
#editor .memo-bg-wheel-wrap126 .wheel-picker9 > summary{width:100%;height:41px;padding:7px 9px;display:flex;gap:9px;align-items:center;border:1px solid #e2e5e7;border-radius:7px;background:#f8f9fa;font-size:12px;color:#34434c;font-weight:650;cursor:pointer}
#editor .memo-bg-wheel-wrap126 .wheel-picker9 > summary .color-chip{width:25px;height:25px;min-width:25px;border-radius:6px;border:1px solid #c4cbd0}
#editor .memo-bg-wheel-wrap126 .wheel-picker9 > summary > span:not(.color-chip){flex:1}
#editor .memo-bg-wheel-wrap126 .wheel-picker9 > summary:after{content:'▾';color:#6b7b86;margin:0}
#editor .memo-bg-wheel-wrap126 .wheel-picker9[open] > summary{border-color:#98b1c3;background:#f3f8fa}
#editor .memo-bg-wheel-help126{font-size:10px;color:#7b868e;line-height:1.5;margin:7px 0 0}
#editor .memo-bg-shades126{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0 0}
#editor .memo-bg-shade126{min-height:48px;display:flex;align-items:center;gap:7px;background:#fafafa;border:1px solid #e4e7e8;border-radius:8px;padding:5px 6px;color:#4f5c64;cursor:pointer;text-align:left;font:10px/1.2 Arial,sans-serif}
#editor .memo-bg-shade126:hover{border-color:#849caf;background:#f5f9fb}
#editor .memo-bg-shade126:focus-visible{outline:2px solid #4380b5;outline-offset:2px}
#editor .memo-bg-shade126 i{width:24px;height:26px;min-width:24px;border:1px solid #ddd;border-radius:5px;background:var(--shade126);display:block}
#editor .memo-bg-shade126 span{line-height:1.3}
#editor .memo-bg-wheel-note126{font-size:10px;color:#879097;line-height:1.5;margin:10px 0 0}
#editor .memo-bg-wheel-wrap126 .wheel-panel9{width:282px;box-shadow:0 14px 38px #21384933;z-index:240;max-height:min(440px,calc(100dvh - 20px));overflow:auto}
#editor .memo-bg-wheel-wrap126 .wheel-hex9{width:100%;min-width:0}
#editor .memo-bg-wheel-wrap126 .wheel-main9{gap:11px}
#editor .memo-bg-wheel-wrap126 .wheel-panel9 .wheel-presets9{margin-top:11px;gap:5px}
@media(max-width:850px){#editor .memo-bg-grid126{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:730px){#editor .memo-bg-grid126{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(hover:none){#editor .memo-bg-swatch126{min-height:44px}}
