.background-pattern-tool{padding-bottom:40px}.background-pattern-tool section{margin:20px 0;padding:24px;border:1px solid #cbd5e1;border-radius:12px;background:#fff}.background-pattern-tool h2{margin-top:0}.cb-presets,.cb-actions{display:flex;flex-wrap:wrap;gap:12px}.background-pattern-tool button{min-height:44px;padding:10px 16px}.background-pattern-tool button:disabled{cursor:not-allowed;opacity:.5}.cb-presets button,.background-pattern-tool .cb-secondary{border:1px solid #93c5fd;background:#eff6ff;color:#1e40af}.cb-select-grid,.cb-color-grid,.cb-range-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cb-select-grid label,.cb-color-grid label,.cb-range-grid label{min-width:0;font-weight:700}.cb-select-grid select{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:48px;margin-top:8px;padding:8px 12px;border:1px solid #94a3b8;border-radius:8px;background:#fff;font:inherit}.cb-color-grid{margin:20px 0}.cb-color-grid input[type=color]{display:block;box-sizing:border-box;width:100%;height:52px;margin-top:8px;padding:4px;border:1px solid #94a3b8;border-radius:8px;background:#fff}.cb-range-grid input[type=range]{display:block;box-sizing:border-box;width:100%;min-height:44px}.cb-range-grid output{color:#1d4ed8}.cb-actions{margin-top:18px}#cbStatus{padding:12px;border-radius:8px;background:#eff6ff;overflow-wrap:anywhere}#cbStatus.is-error{background:#fef2f2;color:#991b1b}#cbPreview{min-height:160px;border:1px solid #cbd5e1;border-radius:12px}.background-pattern-tool textarea{box-sizing:border-box;width:100%;min-width:0;margin:8px 0 16px;padding:12px;border:1px solid #94a3b8;border-radius:8px;font:15px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical}.background-pattern-tool :focus-visible{outline:3px solid #2563eb;outline-offset:3px}@media(max-width:700px){.background-pattern-tool section{padding:16px}.cb-select-grid,.cb-color-grid,.cb-range-grid{grid-template-columns:minmax(0,1fr)}.cb-presets button,.cb-actions button{flex:1 1 100%}.background-pattern-tool textarea{font-size:14px}}
