.arm-editor { margin:12px 0 3px; color:#23332a; }
.arm-summary { display:flex; align-items:center; justify-content:space-between; width:fit-content; max-width:100%; min-height:40px; padding:8px 13px; gap:14px; border:1px solid #43513e; border-radius:5px; background:#edf0df; font:inherit; font-size:14px; font-weight:750; cursor:pointer; list-style:none; }
.arm-summary::-webkit-details-marker { display:none; }
.arm-summary::after { content:'＋'; font-size:16px; line-height:1; }
.arm-editor[open] .arm-summary::after { content:'−'; }
.arm-editor[open] .arm-summary { background:#25392e; color:#fffdf2; }
.arm-editor :focus-visible { outline:3px solid #167186; outline-offset:3px; }
.arm-body { padding:12px; margin:7px 0; border:1px solid #c3c8b6; border-radius:6px; background:#f4f3e8; }
.dish .arm-intro { margin:0 0 12px; font-size:13px; color:#374335; }
.arm-label { display:block; font-size:12px; font-weight:700; }
.arm-select { display:block; width:100%; min-height:40px; margin:4px 0 10px; border:1px solid #8e9b85; padding:5px 8px; background:#fffef8; border-radius:4px; font:inherit; font-size:14px; color:#23332a; }
.arm-tray { position:sticky; top:6px; z-index:2; display:flex; align-items:center; gap:8px; min-height:67px; padding:5px 9px; background:#e0e6cf; border:1px dashed #78876b; border-radius:8px; }
.arm-tray[data-ready=true] { border-style:solid; border-color:#526843; }
.arm-tray[data-over=ready] { outline:2px dashed #669454; outline-offset:1px; }
.arm-tray[data-over=active] { outline:3px solid #317443; background:#c8e2b7; }
.arm-drawing { flex:0 0 66px; line-height:0; }
.arm-drawing svg { width:100%; height:auto; }
.arm-progress { display:block; margin:0 0 3px; font-size:13px; }
.arm-selected,.arm-options { display:flex; flex-wrap:wrap; gap:5px; }
.arm-empty { color:#455440; font-size:12px; }
.arm-remove,.arm-chip,.arm-reset { font:inherit; color:inherit; cursor:pointer; }
.arm-remove { border:1px solid #899677; border-radius:18px; min-height:28px; padding:2px 7px; font-size:12px; background:#f8faee; }
.dish .arm-hint { margin:10px 0; font-size:12px; }
.arm-group { margin:0 0 9px; padding:0; min-width:0; border:0; }
.arm-group legend { padding:0 0 4px; font-size:12px; font-weight:700; }
.arm-chip { display:inline-flex; align-items:center; gap:6px; min-height:35px; border:1px solid #c0c5b2; background:#fffdf4; border-radius:5px; padding:5px 8px; font-size:12px; user-select:none; touch-action:none; }
.arm-chip::before { content:''; width:10px; height:10px; flex:none; border:1px solid rgba(51,49,27,.22); border-radius:55% 48% 53% 42%; background:var(--arm-swatch); }
.arm-chip:hover { border-color:#718065; }
.arm-chip[aria-pressed=true] { border-color:#657957; background:#e1e8d2; box-shadow:inset 0 0 0 1px #657957; }
.arm-chip[aria-pressed=true]::after { content:'✓'; }
.arm-ghost { position:fixed; z-index:1000; top:0; left:0; pointer-events:none; padding:6px 9px; border:1px solid #4d6846; border-radius:6px; background:#fffdf3; color:#223727; box-shadow:0 2px 8px #26362038; font:600 13px/1.3 system-ui,sans-serif; }
.dish .arm-feedback { min-height:1.5em; margin:8px 0; color:#5c482d; font-size:12px; }
.dish .arm-feedback[data-ready=true] { color:#284c37; font-weight:650; }
.arm-foot { display:flex; align-items:center; justify-content:space-between; gap:6px; flex-wrap:wrap; padding-top:7px; border-top:1px solid #d0d2bf; font-size:13px; }
.arm-reset { padding:5px; border:0; background:none; text-decoration:underline; font-size:12px; }
.arm-reset:disabled { opacity:.48; cursor:default; }
@media(max-width:380px) { .arm-body { padding:9px; }.arm-drawing { flex-basis:47px; }.arm-tray { gap:4px; }.arm-chip { padding-inline:6px; } }
