.frame-color-panel{margin:16px 0 20px;padding:14px;border:1px solid var(--line,#d4dfd8);border-radius:12px;background:#fafbf7}.frame-color-panel>summary{font-weight:650;cursor:pointer}.frame-color-palette{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:16px 0}.frame-color-swatch{position:relative;min-width:0;min-height:38px;padding:0;border:1px solid #9cac9d;border-radius:8px;background:var(--frame-color)}.frame-color-swatch:hover{background:var(--frame-color);box-shadow:0 0 0 2px #345e5644}.frame-color-swatch[aria-pressed=true]{outline:2px solid var(--moss,#023431);outline-offset:2px}.frame-color-swatch[aria-pressed=true]::after{content:'✓';position:absolute;inset:6px auto auto 6px;width:22px;height:22px;display:grid;place-items:center;background:#fff;color:#023431;border-radius:50%;font-size:14px;box-shadow:0 0 0 1px #0002}.frame-color-custom>label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.frame-color-fields{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}.frame-color-fields input[type=color]{width:46px;height:44px;padding:3px;border:1px solid #b8c8bd;border-radius:8px;background:white;cursor:pointer;flex-shrink:0}.frame-color-fields input[type=text]{min-width:100px;width:110px;flex:1;height:44px;padding:8px;border:1px solid #b8c8bd;border-radius:8px;background:white;color:var(--moss);font:inherit;text-transform:uppercase}.frame-color-fields button{font-size:12px;padding-inline:10px}.frame-color-panel .note{margin:10px 0 0}.frame-color-panel #frameColorPick{width:100%}.frame-color-sample{margin-top:12px}.frame-color-photo{position:relative;max-width:280px;margin:12px auto;background:white}.frame-color-photo canvas{display:block;width:100%;height:auto;max-height:none;cursor:crosshair;touch-action:pan-y;border-radius:4px}.frame-color-photo canvas:focus-visible{outline:3px solid var(--focus,#b79938);outline-offset:3px}.frame-color-cursor{position:absolute;width:14px;height:14px;border:2px solid white;box-shadow:0 0 0 1px black;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none}.frame-color-cursor[hidden],.frame-color-sample[hidden]{display:none}.frame-color-sample button{width:100%;font-size:12px}#frameColorStatus:empty{display:none}@media(max-width:440px){.frame-color-panel{padding:12px}.frame-color-palette{gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}.frame-color-swatch{min-height:42px}.frame-color-fields button{flex-basis:100%}}
